1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-27 14:15:26 +00:00

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.
This commit is contained in:
Arnaud Ferraris 2020-07-12 22:17:39 +02:00 committed by Arnaud Ferraris
parent dd05360750
commit aadd3e3515

View file

@ -121,6 +121,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_bottom">4</property> <property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Mute</property> <property name="label" translatable="yes">Mute</property>
</object> </object>
</child> </child>
@ -156,6 +158,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_bottom">4</property> <property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Speaker</property> <property name="label" translatable="yes">Speaker</property>
</object> </object>
</child> </child>
@ -190,6 +194,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_bottom">4</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> <property name="label" translatable="yes">Add call</property>
</object> </object>
</child> </child>
@ -233,6 +239,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_bottom">4</property> <property name="margin_bottom">4</property>
<property name="wrap">True</property>
<property name="justify">center</property>
<property name="label" translatable="yes">Hold</property> <property name="label" translatable="yes">Hold</property>
</object> </object>
</child> </child>
@ -267,6 +275,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_bottom">4</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> <property name="label" translatable="yes">Dial Pad</property>
</object> </object>
</child> </child>
@ -294,8 +304,8 @@
<child> <child>
<object class="CallsEncryptionIndicator" id="encryption_indicator"> <object class="CallsEncryptionIndicator" id="encryption_indicator">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_top">50</property> <property name="margin_top">30</property>
<property name="margin_bottom">30</property> <property name="margin_bottom">20</property>
<property name="visible">True</property> <property name="visible">True</property>
</object> </object>
</child> </child>