mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 21:41:35 +02:00
TTreeView: use selected color for expand/collapse sign if rowSelect=true and node is selected.
git-svn-id: trunk@24815 -
This commit is contained in:
parent
0b8221cd19
commit
1cb343f328
@ -4318,7 +4318,10 @@ var
|
||||
if not ShowButtons then exit;
|
||||
with Canvas do
|
||||
begin
|
||||
Brush.Color:=BackgroundColor;
|
||||
if (tvoRowSelect in FOptions) and NodeSelected then
|
||||
Brush.Color := FSelectedColor
|
||||
else
|
||||
Brush.Color := FBackgroundColor;
|
||||
Pen.Color:=FExpandSignColor;
|
||||
Pen.Style:=psSolid;
|
||||
HalfSize := FExpandSignSize shr 1;
|
||||
|
Loading…
Reference in New Issue
Block a user