summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2019-07-18 15:38:06 +0530
committerMohammed Sadiq <sadiq@sadiqpk.org>2019-07-23 06:54:50 +0530
commitfaf305772cec9e8c7e1d33d05b16b245c9b1a7f7 (patch)
tree56c0e1a2b2458c22888b6ad41bc3593a9c30a0e0
parentf80f1d63fdad592fefbe8dc9770c737cbf6eba18 (diff)
downloadgnome-control-center-faf305772cec9e8c7e1d33d05b16b245c9b1a7f7.tar.gz
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
-rw-r--r--panels/sharing/cc-sharing-panel.ui10
1 files changed, 4 insertions, 6 deletions
diff --git a/panels/sharing/cc-sharing-panel.ui b/panels/sharing/cc-sharing-panel.ui
index 314febf76..d9e0d08b2 100644
--- a/panels/sharing/cc-sharing-panel.ui
+++ b/panels/sharing/cc-sharing-panel.ui
@@ -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>