mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-26 05:16:12 +02:00
LazReport, fix text width calc on rotated memos, issue #29890
git-svn-id: trunk@52095 -
This commit is contained in:
parent
9a0902029e
commit
93b5f73def
@ -3755,8 +3755,8 @@ var
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
SMemo.Add(str + Chr(w div 256) + Chr(w mod 256));
|
SMemo.Add(str + Chr(w div 256) + Chr(w mod 256));
|
||||||
Inc(size, size1);
|
Inc(size, size1);
|
||||||
//!!
|
if Angle=0 then
|
||||||
maxWidth := dx - InternalGapX - InternalGapX;
|
maxWidth := dx - InternalGapX - InternalGapX;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure WrapLine(const s: String);
|
procedure WrapLine(const s: String);
|
||||||
|
Loading…
Reference in New Issue
Block a user