From 4790395fad95f64a4cffa76faf4478ffe3bfb5a2 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 3 Sep 2017 10:03:02 +0200 Subject: [PATCH] PsppireDict: Add a quarter of a unit to the displayed width. This avoids the text appearing cramped. --- src/ui/gui/psppire-dict.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-dict.c b/src/ui/gui/psppire-dict.c index 7923079d17..7a8245f2bd 100644 --- a/src/ui/gui/psppire-dict.c +++ b/src/ui/gui/psppire-dict.c @@ -113,7 +113,8 @@ gi (GListModel *list, guint id) g_object_unref (G_OBJECT (context)); gtk_widget_set_size_request (button, - var_get_display_width (v) * rect.width / PANGO_SCALE, + (0.25 + var_get_display_width (v)) + * rect.width / PANGO_SCALE, -1); } } -- 2.30.2