You've already forked lazarus-ccr
fpspreadsheet: Fix worksheetgrid not recalculating row height in case of cell content or format change
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -4068,6 +4068,9 @@ begin
|
|||||||
gcol := GetGridCol(cell^.Col);
|
gcol := GetGridCol(cell^.Col);
|
||||||
AutoExpandToRow(grow, aeData);
|
AutoExpandToRow(grow, aeData);
|
||||||
AutoExpandToCol(gcol, aeData);
|
AutoExpandToCol(gcol, aeData);
|
||||||
|
lRow := Worksheet.FindRow(srow);
|
||||||
|
if (lRow = nil) or (lRow^.RowHeightType <> rhtCustom) then
|
||||||
|
UpdateRowHeight(grow, true);
|
||||||
end;
|
end;
|
||||||
Invalidate;
|
Invalidate;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user