[gimp] Bug 669795 - Toolbox can't be shrinked to 1 or 2 columns



commit 573faa39b006056af4436003a3034200c2b34248
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jul 30 18:04:27 2012 +0200

    Bug 669795 - Toolbox can't be shrinked to 1 or 2 columns
    
    Reduce the requested width of the "You can drop foo here" label to 16
    pixels, which makes is look a bit crappy, but at least the toolbox
    becomes shrinkable to < 3 columns. Whoever keeps this empty space
    around without using it shall henceforth be punished by having to see
    that distorted and misplaced label.

 app/widgets/gimppanedbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimppanedbox.c b/app/widgets/gimppanedbox.c
index 5751231..a0613f2 100644
--- a/app/widgets/gimppanedbox.c
+++ b/app/widgets/gimppanedbox.c
@@ -147,7 +147,7 @@ gimp_paned_box_init (GimpPanedBox *paned_box)
   gtk_label_set_line_wrap (GTK_LABEL (paned_box->p->instructions), TRUE);
   gtk_label_set_justify (GTK_LABEL (paned_box->p->instructions),
                          GTK_JUSTIFY_CENTER);
-  gtk_widget_set_size_request (paned_box->p->instructions, 100, 0);
+  gtk_widget_set_size_request (paned_box->p->instructions, 16, 0);
   gimp_label_set_attributes (GTK_LABEL (paned_box->p->instructions),
                              PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC,
                              -1);



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