mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 00:23:53 +02:00
TAChart: Draw text of chart list box items with the same background as the list box itself
git-svn-id: trunk@33065 -
This commit is contained in:
parent
4d3ea7ffb4
commit
794b3c6aec
@ -188,7 +188,7 @@ procedure Register;
|
||||
implementation
|
||||
|
||||
uses
|
||||
Math, LCLIntf, LCLType, SysUtils, Themes,
|
||||
Graphics, Math, LCLIntf, LCLType, SysUtils, Themes,
|
||||
TACustomSource, TADrawerCanvas, TADrawUtils, TAEnumerators, TAGeometry;
|
||||
|
||||
procedure Register;
|
||||
@ -326,6 +326,7 @@ begin
|
||||
else
|
||||
x := ARect.Left;
|
||||
|
||||
Canvas.Brush.Style := bsClear;
|
||||
if cloShowIcons in Options then begin
|
||||
id := TCanvasDrawer.Create(Canvas);
|
||||
id.Pen := Chart.Legend.SymbolFrame;
|
||||
|
Loading…
Reference in New Issue
Block a user