[gnome-builder/gnome-builder-3-32] Tree column autosize



commit d2098e45216dc581b074b5bbfc6a1d99ecacc1bf
Author: Paulo Queiroz <pvaqueiroz gmail com>
Date:   Wed Apr 3 20:24:43 2019 -0700

    Tree column autosize

 src/libide/tree/ide-tree.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/tree/ide-tree.c b/src/libide/tree/ide-tree.c
index 0fb074a01..03323e254 100644
--- a/src/libide/tree/ide-tree.c
+++ b/src/libide/tree/ide-tree.c
@@ -554,6 +554,7 @@ ide_tree_init (IdeTree *self)
   gtk_tree_view_set_activate_on_single_click (GTK_TREE_VIEW (self), TRUE);
 
   column = gtk_tree_view_column_new ();
+  gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
   cell = g_object_new (GTK_TYPE_CELL_RENDERER_PIXBUF,
                        "xpad", 6,
                        NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]