You've already forked lazarus-ccr
jvcllaz: Fix centered position of chart title in JvChart.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7179 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5425,9 +5425,11 @@ begin
|
|||||||
Assert(Assigned(ACanvas.Brush));
|
Assert(Assigned(ACanvas.Brush));
|
||||||
|
|
||||||
MyHeaderFont(ACanvas);
|
MyHeaderFont(ACanvas);
|
||||||
MyCenterTextOut(ACanvas, Options.XStartOffset + Round(Options.XEnd / 2),
|
MyCenterTextOut(ACanvas,
|
||||||
(Options.YStartOffset div 2) - (MyTextHeight(ACanvas, StrText) div 2),
|
(Options.XStartOffset + Round(Options.XEnd)) div 2,
|
||||||
StrText);
|
(Options.YStartOffset - MyTextHeight(ACanvas, StrText)) div 2,
|
||||||
|
StrText
|
||||||
|
);
|
||||||
MyAxisFont(ACanvas);
|
MyAxisFont(ACanvas);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user