summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-19 21:50:55 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-19 21:50:55 -0400
commitb0fc43e9588aa076a84c71f22a74610c918625b5 (patch)
treede84eb7be7b0af0a4663a46068fde60492388657 /gtk/gtklabel.c
parent8ae5e012256de2a1c68b6bf080c5299f405a9784 (diff)
downloadgtk+-b0fc43e9588aa076a84c71f22a74610c918625b5.tar.gz
Reduced natural request padding for rotating ellipsizing labels
After fixing height requests this works much smoother, although in some places pango seems to ellipsize a rotated label when given the width it requested.
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 0e292207b3..ff210feb92 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -156,7 +156,7 @@ enum {
/* When rotating ellipsizable text we want the natural size to request
* more to ensure the label wont ever ellipsize in an allocation of full natural size.
* */
-#define ROTATION_ELLIPSIZE_PADDING 12
+#define ROTATION_ELLIPSIZE_PADDING 2
static guint signals[LAST_SIGNAL] = { 0 };