lcl: grids: highDPI: fix DefaultRowHeight scaling

git-svn-id: trunk@53582 -
This commit is contained in:
ondrej 2016-12-06 19:48:23 +00:00
parent 565f0125cf
commit ec3be77f3d

View File

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