mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-29 12:02:51 +02:00
lcl: readjust toolbuttons size on various events like ImageList change
git-svn-id: trunk@22162 -
This commit is contained in:
parent
b44c4ffbec
commit
950305ea23
@ -322,6 +322,7 @@ begin
|
||||
for i := 0 to FButtons.Count - 1 do
|
||||
begin
|
||||
TControl(FButtons[i]).InvalidatePreferredSize;
|
||||
TControl(FButtons[i]).AdjustSize;
|
||||
end;
|
||||
ReAlign;
|
||||
Invalidate;
|
||||
|
Loading…
Reference in New Issue
Block a user