[gtk/gtk-demo-fixes: 6/9] paper dialog: Make this look less horrible



commit 58bc9452f6f89c37d26b020f99a18ba53da76b85
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 24 03:12:30 2019 -0500

    paper dialog: Make this look less horrible

 gtk/gtkcustompaperunixdialog.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c
index a607d417c8..56e9e3a4a5 100644
--- a/gtk/gtkcustompaperunixdialog.c
+++ b/gtk/gtkcustompaperunixdialog.c
@@ -1034,6 +1034,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
   gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 18);
+  g_object_set (hbox, "margin", 20, NULL);
   gtk_container_add (GTK_CONTAINER (content_area), hbox);
   gtk_widget_show (hbox);
 


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