From aadd3e3515228b3289973d98e6ec7c88e2d4c446 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Sun, 12 Jul 2020 22:17:39 +0200 Subject: [PATCH] ui: call-display: wrap toggle buttons' labels For some locales, the buttons' labels can be quite long, making the window wider than the display. Using a line wrap will solve this issue when there wouldn't be shorter translation alternatives. This requires reducing the encryption indicator's margins so the window height doesn't grow beyond the available display size. --- src/ui/call-display.ui | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/ui/call-display.ui b/src/ui/call-display.ui index 35cb5c6..bf0e079 100644 --- a/src/ui/call-display.ui +++ b/src/ui/call-display.ui @@ -121,6 +121,8 @@ True False 4 + True + center Mute @@ -156,6 +158,8 @@ True False 4 + True + center Speaker @@ -190,6 +194,8 @@ True False 4 + True + center Add call @@ -233,6 +239,8 @@ True False 4 + True + center Hold @@ -267,6 +275,8 @@ True False 4 + True + center Dial Pad @@ -294,8 +304,8 @@ False - 50 - 30 + 30 + 20 True