Resize the history list treeview in GTK3, not the parent
This commit is contained in:
parent
bd5c317ad9
commit
b639067520
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ namespace HistoryList {
|
||||||
int max_lines = 10;
|
int max_lines = 10;
|
||||||
#if HAVE_GTK3
|
#if HAVE_GTK3
|
||||||
requisition = Requisition();
|
requisition = Requisition();
|
||||||
get_preferred_width(out requisition.width, null);
|
this.treeview.get_preferred_width(out requisition.width, null);
|
||||||
get_preferred_height(out requisition.height, null);
|
this.treeview.get_preferred_height(out requisition.height, null);
|
||||||
#else
|
#else
|
||||||
this.treeview.size_request (out requisition);
|
this.treeview.size_request (out requisition);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue