mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 12:02:48 +02:00
grids: always scale FDefColWidth and FDefRowHeight (without chicking IsDefRowHeightStored).
git-svn-id: trunk@53992 -
This commit is contained in:
parent
14d17cd1e7
commit
ae58211303
@ -6752,9 +6752,9 @@ begin
|
|||||||
for i := RowCount - 1 downto 0 do
|
for i := RowCount - 1 downto 0 do
|
||||||
RowHeights[i] := Round(RowHeights[i] * AYProportion);
|
RowHeights[i] := Round(RowHeights[i] * AYProportion);
|
||||||
|
|
||||||
DefaultColWidth := Round(DefaultColWidth * AXProportion);
|
FDefColWidth := Round(FDefColWidth * AXProportion);
|
||||||
if IsDefRowHeightStored then
|
FDefRowHeight := Round(FDefRowHeight * AYProportion);
|
||||||
DefaultRowHeight := Round(DefaultRowHeight * AYProportion);
|
Include(FGridFlags, gfDefRowHeightChanged);
|
||||||
finally
|
finally
|
||||||
EndUpdate;
|
EndUpdate;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user