[gimp] libgimpwidgets: let the size entry's spinbutton fill the available space



commit dbf1d49efece26b82284140bb2133305822b230a
Author: Michael Natterer <mitch gimp org>
Date:   Sun Oct 31 16:45:49 2010 +0100

    libgimpwidgets: let the size entry's spinbutton fill the available space
    
    so we at least get a nice layout if the spinbuttons have different
    sizes. Makes the tool options look a bit less ugly.

 libgimpwidgets/gimpscaleentry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpscaleentry.c b/libgimpwidgets/gimpscaleentry.c
index 83b543a..7471865 100644
--- a/libgimpwidgets/gimpscaleentry.c
+++ b/libgimpwidgets/gimpscaleentry.c
@@ -222,7 +222,7 @@ gimp_scale_entry_new_internal (gboolean     color_scale,
 
   gtk_table_attach (GTK_TABLE (table), spinbutton,
                     column + 2, column + 3, row, row + 1,
-                    GTK_SHRINK, GTK_SHRINK, 0, 0);
+                    GTK_FILL | GTK_SHRINK, GTK_SHRINK, 0, 0);
   gtk_widget_show (spinbutton);
 
   if (tooltip || help_id)



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