mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 18:16:00 +02:00
lcl: grids: highDPI: fix DefaultRowHeight scaling
git-svn-id: trunk@53582 -
This commit is contained in:
parent
565f0125cf
commit
ec3be77f3d
@ -6743,7 +6743,7 @@ begin
|
||||
RowHeights[i] := Round(RowHeights[i] * AYProportion);
|
||||
|
||||
DefaultColWidth := Round(DefaultColWidth * AXProportion);
|
||||
if DefaultRowHeight > 0 then
|
||||
if IsDefRowHeightStored then
|
||||
DefaultRowHeight := Round(DefaultRowHeight * AYProportion);
|
||||
finally
|
||||
EndUpdate;
|
||||
|
Loading…
Reference in New Issue
Block a user