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



commit 03fd0a6cd5b6478e97240abb2c7c1e5d82ff179a
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]