grids: always scale FDefColWidth and FDefRowHeight (without chicking IsDefRowHeightStored).

git-svn-id: trunk@53992 -
This commit is contained in:
ondrej 2017-01-24 12:07:30 +00:00
parent 14d17cd1e7
commit ae58211303

View File

@ -6752,9 +6752,9 @@ begin
for i := RowCount - 1 downto 0 do
RowHeights[i] := Round(RowHeights[i] * AYProportion);
DefaultColWidth := Round(DefaultColWidth * AXProportion);
if IsDefRowHeightStored then
DefaultRowHeight := Round(DefaultRowHeight * AYProportion);
FDefColWidth := Round(FDefColWidth * AXProportion);
FDefRowHeight := Round(FDefRowHeight * AYProportion);
Include(FGridFlags, gfDefRowHeightChanged);
finally
EndUpdate;
end;