mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +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));
|
AChild := gtk_bin_get_child(PGtkBin(Widget));
|
||||||
if (AChild <> nil) and GTK_IS_TREE_VIEW(AChild) then
|
if (AChild <> nil) and GTK_IS_TREE_VIEW(AChild) then
|
||||||
begin
|
begin
|
||||||
Result.Right := AChild^.allocation.width - AChild^.allocation.x;
|
Result.Right := AChild^.allocation.width;
|
||||||
Result.Bottom := AChild^.allocation.height - AChild^.allocation.y;
|
Result.Bottom := AChild^.allocation.height;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user