[gimp/gtk3-port] libgimpwidgets: set the widgets's hexpand in gimp_grid_attach_aligned()



commit 42df0f2e350ff516d742bd8b72938c3c94f20898
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 3 04:00:16 2018 +0200

    libgimpwidgets: set the widgets's hexpand in gimp_grid_attach_aligned()

 libgimpwidgets/gimpwidgetsutils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgetsutils.c b/libgimpwidgets/gimpwidgetsutils.c
index 606c280..84d59f6 100644
--- a/libgimpwidgets/gimpwidgetsutils.c
+++ b/libgimpwidgets/gimpwidgetsutils.c
@@ -220,6 +220,7 @@ gimp_grid_attach_aligned (GtkGrid     *grid,
         gtk_label_set_mnemonic_widget (GTK_LABEL (label), mnemonic_widget);
     }
 
+  gtk_widget_set_hexpand (widget, TRUE);
   gtk_grid_attach (grid, widget, left + 1, top, columns, 1);
   gtk_widget_show (widget);
 


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