LCL: TCustomListView: update images on DPI change

git-svn-id: branches/HiDPIImageList@57158 -
This commit is contained in:
ondrej 2018-01-27 13:52:14 +00:00
parent 71b81a6c94
commit 1d1f091f4d

View File

@ -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;