[gnome-control-center] sharing: Allow dialogs to have smaller width



commit faf305772cec9e8c7e1d33d05b16b245c9b1a7f7
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Thu Jul 18 15:38:06 2019 +0530

    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

 panels/sharing/cc-sharing-panel.ui | 10 ++++------
 1 file 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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]