mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user