[gimp/gtk3-port: 320/444] app: properly align frame children in GimpGridEditor



commit 8ff9fa98b9b2f1cfc1500b710cf781e4dc2aca88
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 3 14:30:28 2018 +0200

    app: properly align frame children in GimpGridEditor

 app/widgets/gimpgrideditor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpgrideditor.c b/app/widgets/gimpgrideditor.c
index dc35123..11390b1 100644
--- a/app/widgets/gimpgrideditor.c
+++ b/app/widgets/gimpgrideditor.c
@@ -176,6 +176,7 @@ gimp_grid_editor_constructed (GObject *object)
   gtk_widget_show (frame);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
+  gtk_widget_set_halign (hbox, GTK_ALIGN_START);
   gtk_container_add (GTK_CONTAINER (frame), hbox);
 
   sizeentry = gimp_prop_coordinates_new (G_OBJECT (editor->grid),
@@ -211,6 +212,7 @@ gimp_grid_editor_constructed (GObject *object)
   gtk_widget_show (frame);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
+  gtk_widget_set_halign (hbox, GTK_ALIGN_START);
   gtk_container_add (GTK_CONTAINER (frame), hbox);
 
   sizeentry = gimp_prop_coordinates_new (G_OBJECT (editor->grid),


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