You've already forked lazarus-ccr
fpspreadsheet: Fix automatic row height calculation in case of stacked text rotation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -601,9 +601,9 @@ begin
|
|||||||
ARichTextParams, AWordWrap, haLeft, vaTop, ATextRotation,
|
ARichTextParams, AWordWrap, haLeft, vaTop, ATextRotation,
|
||||||
w, h, true);
|
w, h, true);
|
||||||
case ATextRotation of
|
case ATextRotation of
|
||||||
trHorizontal, rtStacked:
|
trHorizontal:
|
||||||
Result := h;
|
Result := h;
|
||||||
rt90DegreeClockwiseRotation, rt90DegreeCounterClockwiseRotation:
|
rt90DegreeClockwiseRotation, rt90DegreeCounterClockwiseRotation, rtStacked:
|
||||||
Result := w;
|
Result := w;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user