mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:00:26 +02:00
LHelp: Fix icon display issue in gtk2. Issue #41656, patch by Roland Hahn.
This commit is contained in:
parent
c5d6740917
commit
34313e6f91
File diff suppressed because it is too large
Load Diff
@ -233,7 +233,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