[gnome-builder/wip/gtk4-port] libide/gtk: make padding match project tree



commit b3998c5cd38c6a72592bf51e42d59aae246b2e6d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 7 15:01:12 2022 -0700

    libide/gtk: make padding match project tree

 src/libide/gtk/ide-tree-expander.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gtk/ide-tree-expander.c b/src/libide/gtk/ide-tree-expander.c
index 5b429a31d..f70c10cf8 100644
--- a/src/libide/gtk/ide-tree-expander.c
+++ b/src/libide/gtk/ide-tree-expander.c
@@ -299,6 +299,8 @@ ide_tree_expander_init (IdeTreeExpander *self)
   self->title = g_object_new (GTK_TYPE_LABEL,
                               "halign", GTK_ALIGN_START,
                               "ellipsize", PANGO_ELLIPSIZE_END,
+                              "margin-start", 3,
+                              "margin-end", 3,
                               NULL);
   gtk_widget_insert_after (self->title, GTK_WIDGET (self), self->image);
 }


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