mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 18:40:33 +02:00
LCL: fixed drawing of [+] and [-] icons of a treeview item (bug #8531).
This will break it for gtk, but to fix that, the gtk implementation of TCanvas.Rectangle needs to be adjusted (bug #8342). git-svn-id: trunk@10776 -
This commit is contained in:
parent
aa3864119c
commit
ba7e804254
@ -4003,7 +4003,7 @@ var
|
||||
tvestPlusMinus:
|
||||
begin
|
||||
// draw a plus or a minus sign
|
||||
Rectangle(ALeft, ATop, ARight, ABottom);
|
||||
Rectangle(ALeft, ATop, ARight+1, ABottom+1);
|
||||
MoveTo(ALeft+2,MidY);
|
||||
LineTo(ARight-2+1,MidY);
|
||||
if not CollapseSign then begin
|
||||
|
Loading…
Reference in New Issue
Block a user