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



commit b68667860b7a22a4119742978161e1cfa84ffa5d
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]