LHelp: Fix icon display issue in gtk2. Issue #41656, patch by Roland Hahn.

(cherry picked from commit 34313e6f91)
This commit is contained in:
wp_xyz 2025-05-21 16:54:10 +02:00
parent c067bd336e
commit d0b829b72c
2 changed files with 3322 additions and 37 deletions

File diff suppressed because it is too large Load Diff

View File

@ -234,7 +234,7 @@ begin
i.Height := Scale96ToForm(128);
i.Proportional := true;
i.Picture.Icon.Assign(Application.Icon);
i.Picture.Icon.Current := i.Picture.Icon.GetBestIndexForSize(Types.Size(256, 256));
i.Picture.Icon.Current := i.Picture.Icon.GetBestIndexForSize(Types.Size(i.Width, i.Height));
i.BorderSpacing.Around := d6;
i.Anchors := [akLeft, akTop];
i.AnchorSideTop.Control := f;