[gtk+] placessidebar: fix ellipsizing glitch



commit c3b634537755facd1d1e93b03945d7df0dc16649
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jul 28 07:08:03 2015 -0300

    placessidebar: fix ellipsizing glitch
    
    The places sidebar rows' labels were missing a proper
    xalign, which caused the labels to keep shaking while
    the sidebar was resized.
    
    Fix that by setting the label's xalign to 0.

 gtk/ui/gtksidebarrow.ui |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/ui/gtksidebarrow.ui b/gtk/ui/gtksidebarrow.ui
index 291e4f0..8f6f307 100644
--- a/gtk/ui/gtksidebarrow.ui
+++ b/gtk/ui/gtksidebarrow.ui
@@ -33,6 +33,8 @@
                 <child>
                   <object class="GtkLabel" id="label_widget">
                     <property name="visible">True</property>
+                    <property name="hexpand">True</property>
+                    <property name="xalign">0</property>
                     <style>
                       <class name="sidebar-label"/>
                     </style>
@@ -45,8 +47,7 @@
                 <child>
                   <object class="GtkButton" id="eject_button">
                     <property name="visible">True</property>
-                    <property name="hexpand">True</property>
-                    <property name="halign">end</property>
+                    <property name="halign">center</property>
                     <property name="valign">center</property>
                     <property name="margin-start">4px</property>
                     <property name="no-show-all">True</property>


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