mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
Gtk2: fixed ItemDisplayRect() returning rect when drLabel is needed.Part of issue #30055
git-svn-id: trunk@52249 -
This commit is contained in:
parent
ac9b657bf0
commit
2aaeaacc7b
@ -1155,10 +1155,10 @@ begin
|
||||
ItemRect := IconRect
|
||||
else
|
||||
begin
|
||||
ItemRect.x += IconRect.width + IconRect.x + 2;
|
||||
ItemRect.x += AWidth + 2;
|
||||
ItemRect.y += 2; // offset
|
||||
ItemRect.Width -= IconRect.Width + 2;
|
||||
ItemRect.height -= 2; // offset
|
||||
ItemRect.Width -= AWidth + 2;
|
||||
ItemRect.Height -= 2; // offset
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user