[gnome-bluetooth: 4/6] settings-row: Fix the alignment of device names



commit 3e72790bb4086887965d58e130056fa7fe05e927
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Sep 20 17:31:05 2018 +0200

    settings-row: Fix the alignment of device names
    
    This stops the labels flickering when they are ellipsized and the
    window's size changes.

 lib/bluetooth-settings-row.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/lib/bluetooth-settings-row.ui b/lib/bluetooth-settings-row.ui
index 9222f65c..b21b76ac 100644
--- a/lib/bluetooth-settings-row.ui
+++ b/lib/bluetooth-settings-row.ui
@@ -20,8 +20,10 @@
             <property name="halign">start</property>
             <property name="valign">center</property>
             <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
             <property name="label">Placeholder Name</property>
             <property name="ellipsize">end</property>
+            <property name="xalign">0</property>
           </object>
           <packing>
             <property name="left_attach">0</property>
@@ -34,6 +36,7 @@
             <property name="can_focus">False</property>
             <property name="halign">end</property>
             <property name="valign">center</property>
+            <property name="vexpand">True</property>
             <property name="label" translatable="yes">Not Set Up</property>
           </object>
           <packing>


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