mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-08 04:19:59 +01:00
TAChart: Fix legend background color for dark mode.
This commit is contained in:
parent
052c78909f
commit
b080a05bbd
@ -141,7 +141,8 @@ type
|
||||
|
||||
TChartLegendBrush = class(TBrush)
|
||||
published
|
||||
property Color default clWhite;
|
||||
constructor Create; override;
|
||||
property Color default clDefault;
|
||||
end;
|
||||
|
||||
TLegendAlignment = (
|
||||
@ -371,6 +372,15 @@ begin
|
||||
inherited SetItem(AIndex, AValue);
|
||||
end;
|
||||
|
||||
{ TChartLegendBrush }
|
||||
|
||||
constructor TChartLegendBrush.Create;
|
||||
begin
|
||||
inherited;
|
||||
Color := clDefault;
|
||||
end;
|
||||
|
||||
|
||||
{ TLegendItem }
|
||||
|
||||
constructor TLegendItem.Create(const AText: String; AColor: TColor);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user