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:
wp 2019-02-28 13:24:17 +00:00
parent 14490aab47
commit 319386da3f

View File

@ -199,7 +199,7 @@ begin
{$IFDEF WINDOWS}
Width := Min(Screen.Width, w + 1 + IfThen(sgData.BorderStyle = bsNone, 0, 3));
{$ELSE}
Width := Min(Screen.Width, w + sgData.GridLinedWidth * (sgData.Columns.Count-1));
Width := Min(Screen.Width, w + sgData.GridLineWidth * (sgData.Columns.Count-1));
{$ENDIF}
end;