mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
Gtk2: fixed clientRect of GtkTreeView based classes. issue #26904
git-svn-id: trunk@46633 -
This commit is contained in:
parent
bb7231832e
commit
9e798f0274
@ -4610,8 +4610,8 @@ begin
|
||||
AChild := gtk_bin_get_child(PGtkBin(Widget));
|
||||
if (AChild <> nil) and GTK_IS_TREE_VIEW(AChild) then
|
||||
begin
|
||||
Result.Right := AChild^.allocation.width - AChild^.allocation.x;
|
||||
Result.Bottom := AChild^.allocation.height - AChild^.allocation.y;
|
||||
Result.Right := AChild^.allocation.width;
|
||||
Result.Bottom := AChild^.allocation.height;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user