You've already forked lazarus-ccr
fpspreadsheet: Fix minor bug in WorksheetGrid's row height calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6592 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5766,7 +5766,10 @@ begin
|
||||
lRow^.Height := CalcRowHeightToSheet(round(h / ZoomFactor));
|
||||
end else
|
||||
// If autocalc mode is off we just take the row height from the row record
|
||||
h := round(CalcRowHeightFromSheet(lRow^.Height) * ZoomFactor);
|
||||
case lRow^.RowHeightType of
|
||||
rhtDefault : h := DefaultRowHeight;
|
||||
rhtAuto : h := round(CalcRowHeightFromSheet(lRow^.Height) * ZoomFactor);
|
||||
end;
|
||||
end;
|
||||
end; // case
|
||||
end else
|
||||
|
Reference in New Issue
Block a user