mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 18:17:13 +01:00
IDE: In project application options use KeepOriginWhenClipped for icon. Issue #29619, patch from Alexey Torgashin.
git-svn-id: trunk@51554 -
This commit is contained in:
parent
0c558e2b3c
commit
5e18377e9e
@ -243,6 +243,8 @@ begin
|
||||
if SaveIconButton.Glyph.Empty then
|
||||
SaveIconButton.LoadGlyphFromResourceName(HInstance, 'laz_save');
|
||||
ClearIconButton.LoadGlyphFromResourceName(HInstance, 'menu_clean');
|
||||
IconImage.KeepOriginXWhenClipped := True;
|
||||
IconImage.KeepOriginYWhenClipped := True;
|
||||
IconImagePictureChanged(nil);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user