[gnome-control-center] mouse: properly wrap and scale the row description texts



commit 311c54008eb5128844c7202f390a4bb5f5737c8f
Author: Felipe Borges <feborges redhat com>
Date:   Thu Nov 5 11:36:45 2015 +0100

    mouse: properly wrap and scale the row description texts
    
    In the designs at https://wiki.gnome.org/Design/SystemSettings/Mouse,
    the description texts of each row is slightly smaller than their
    labels.
    Besides, the description of the primary-button row has an arbitrary
    line break.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756863

 panels/mouse/gnome-mouse-properties.ui |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.ui b/panels/mouse/gnome-mouse-properties.ui
index b2459bb..f7b47fa 100644
--- a/panels/mouse/gnome-mouse-properties.ui
+++ b/panels/mouse/gnome-mouse-properties.ui
@@ -100,10 +100,16 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">0</property>
+                                <property name="max-width-chars">20</property>
+                                <property name="wrap">True</property>
+                                <property name="wrap-mode">word</property>
                                 <property name="label" translatable="yes">Sets the order of physical buttons 
on mice and touchpads.</property>
                                 <style>
                                   <class name="dim-label"/>
                                 </style>
+                                <attributes>
+                                  <attribute name="scale" value="0.9"/>
+                                </attributes>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -284,6 +290,9 @@
                                 <style>
                                   <class name="dim-label"/>
                                 </style>
+                                <attributes>
+                                  <attribute name="scale" value="0.9"/>
+                                </attributes>
                               </object>
                               <packing>
                                 <property name="left_attach">0</property>
@@ -468,6 +477,9 @@
                                         <style>
                                           <class name="dim-label"/>
                                         </style>
+                                        <attributes>
+                                          <attribute name="scale" value="0.9"/>
+                                        </attributes>
                                       </object>
                                       <packing>
                                         <property name="left_attach">0</property>


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