LazReport, fix text width calc on rotated memos, issue #29890

git-svn-id: trunk@52095 -
This commit is contained in:
jesus 2016-03-31 17:59:48 +00:00
parent 9a0902029e
commit 93b5f73def

View File

@ -3755,8 +3755,8 @@ var
{$ENDIF}
SMemo.Add(str + Chr(w div 256) + Chr(w mod 256));
Inc(size, size1);
//!!
maxWidth := dx - InternalGapX - InternalGapX;
if Angle=0 then
maxWidth := dx - InternalGapX - InternalGapX;
end;
procedure WrapLine(const s: String);