[gnome-software] feature-tile: Ellipsize text



commit 6a9ef0342cfae1770ac74143e798866f45c5a372
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Nov 22 10:27:54 2018 +1300

    feature-tile: Ellipsize text
    
    This stops an app with an extremely large title/summary from making the main
    window too wide.

 src/gs-feature-tile.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gs-feature-tile.ui b/src/gs-feature-tile.ui
index eee65dc3..2a62fcf9 100644
--- a/src/gs-feature-tile.ui
+++ b/src/gs-feature-tile.ui
@@ -44,6 +44,7 @@
                     <property name="valign">end</property>
                     <property name="vexpand">True</property>
                     <property name="wrap">True</property>
+                    <property name="ellipsize">end</property>
                     <attributes>
                       <attribute name="scale" value="2.5"/>
                       <attribute name="weight" value="700"/>
@@ -54,6 +55,7 @@
                   <object class="GtkLabel" id="subtitle">
                     <property name="visible">True</property>
                     <property name="wrap">True</property>
+                    <property name="ellipsize">end</property>
                     <property name="xalign">0</property>
                     <property name="halign">start</property>
                     <property name="valign">start</property>


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