mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 10:50:53 +02:00
LHelp: Fix icon display issue in gtk2. Issue #41656, patch by Roland Hahn.
(cherry picked from commit 34313e6f91
)
This commit is contained in:
parent
c067bd336e
commit
d0b829b72c
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user