[gnome-boxes] icon-view: Align machine_name with the thumbnail



commit d92f7449359a4e8a57f04646c4b2cf8e136241d4
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Jan 4 13:25:47 2018 +0100

    icon-view: Align machine_name with the thumbnail
    
    Prevent long names from expading the widget.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791839

 data/ui/icon-view-child.ui |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/icon-view-child.ui b/data/ui/icon-view-child.ui
index 9328ccb..42764b6 100644
--- a/data/ui/icon-view-child.ui
+++ b/data/ui/icon-view-child.ui
@@ -77,12 +77,14 @@
       <object class="GtkLabel" id="machine_name">
         <property name="visible">True</property>
         <property name="width-request">192</property>
-        <property name="max-width-chars">128</property>
-        <property name="justify">left</property>
+        <property name="max-width-chars">20</property>
+        <property name="justify">center</property>
         <property name="halign">start</property>
         <property name="hexpand">True</property>
         <property name="valign">center</property>
-        <property name="ellipsize">end</property>
+        <property name="ellipsize">middle</property>
+        <property name="lines">3</property>
+        <property name="wrap">True</property>
         <property name="margin-top">10</property>
       </object>
       <packing>


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