Commit aadd3e35 authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Arnaud Ferraris
Browse files

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.
parent dd053607
......@@ -121,6 +121,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Mute</property>
</object>
</child>
......@@ -156,6 +158,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Speaker</property>
</object>
</child>
......@@ -190,6 +194,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Add call</property>
</object>
</child>
......@@ -233,6 +239,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Hold</property>
</object>
</child>
......@@ -267,6 +275,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Dial Pad</property>
</object>
</child>
......@@ -294,8 +304,8 @@
<child>
<object class="CallsEncryptionIndicator" id="encryption_indicator">
<property name="can_focus">False</property>
<property name="margin_top">50</property>
<property name="margin_bottom">30</property>
<property name="margin_top">30</property>
<property name="margin_bottom">20</property>
<property name="visible">True</property>
</object>
</child>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment