mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 16:48:27 +02:00
LCL: TCustomListView: update images on DPI change
git-svn-id: branches/HiDPIImageList@57158 -
This commit is contained in:
parent
71b81a6c94
commit
1d1f091f4d
@ -618,6 +618,7 @@ procedure TCustomListView.DoAutoAdjustLayout(
|
||||
var
|
||||
i: Integer;
|
||||
C: TListColumn;
|
||||
L: TListViewImageList;
|
||||
begin
|
||||
inherited;
|
||||
|
||||
@ -630,6 +631,9 @@ begin
|
||||
C.MinWidth := Round(C.MinWidth * AXProportion);
|
||||
C.Width := Round(C.Width * AXProportion);
|
||||
end;
|
||||
|
||||
for L in TListViewImageList do
|
||||
SetImageListWS(L);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user