diff --git a/lcl/grids.pas b/lcl/grids.pas index 92f8e58c71..82a15b9d60 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -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;