mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 12:55:36 +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:
parent
dd05360750
commit
aadd3e3515
1 changed files with 12 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue