mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 05:19:08 +02:00
TAChart: Fix compilation on Linux (broken by r60512 #6e6af28591). Patch by Lagunov Aleksey, issue #35167).
git-svn-id: trunk@60532 -
This commit is contained in:
parent
14490aab47
commit
319386da3f
@ -199,7 +199,7 @@ begin
|
|||||||
{$IFDEF WINDOWS}
|
{$IFDEF WINDOWS}
|
||||||
Width := Min(Screen.Width, w + 1 + IfThen(sgData.BorderStyle = bsNone, 0, 3));
|
Width := Min(Screen.Width, w + 1 + IfThen(sgData.BorderStyle = bsNone, 0, 3));
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
Width := Min(Screen.Width, w + sgData.GridLinedWidth * (sgData.Columns.Count-1));
|
Width := Min(Screen.Width, w + sgData.GridLineWidth * (sgData.Columns.Count-1));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user