[gimp/gimp-2-8] Bug 669795 - Toolbox can't be shrinked to 1 or 2 columns
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 669795 - Toolbox can't be shrinked to 1 or 2 columns
- Date: Mon, 30 Jul 2012 16:09:12 +0000 (UTC)
commit 3445d5f214f9cb64697085541bd449a6b8c56091
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.
(cherry picked from commit 573faa39b006056af4436003a3034200c2b34248)
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 de4515e..3f3d31c 100644
--- a/app/widgets/gimppanedbox.c
+++ b/app/widgets/gimppanedbox.c
@@ -146,7 +146,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]