sharing: Allow dialogs to have smaller width

Reduce margins on either side, and allow the texts to be
wrapped early, so that it works well on smaller screens
This commit is contained in:
Mohammed Sadiq 2019-07-18 15:38:06 +05:30
parent f80f1d63fd
commit faf305772c

View file

@ -310,7 +310,7 @@
<property name="label">File Sharing allows you to share your Public folder with others on your current network using: &lt;a href="dav://%s"&gt;dav://%s&lt;/a&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">40</property>
<property name="max-width-chars">36</property>
</object>
<packing>
<property name="left_attach">0</property>
@ -440,8 +440,6 @@
<object class="GtkGrid" id="grid5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">12</property>
@ -455,7 +453,7 @@
&lt;a href="ssh %s"&gt;ssh %s&lt;/a&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">52</property>
<property name="max-width-chars">36</property>
</object>
<packing>
<property name="left_attach">0</property>
@ -547,7 +545,7 @@
<property name="label">Screen sharing allows remote users to view or control your screen by connecting to: &lt;a href="vnc://%s"&gt;vnc://%s&lt;/a&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">40</property>
<property name="max-width-chars">36</property>
<property name="margin_bottom">6</property>
</object>
<packing>
@ -807,7 +805,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Share music, photos and videos over the network.</property>
<property name="max-width-chars">40</property>
<property name="max-width-chars">36</property>
<property name="wrap">True</property>
</object>
<packing>