[gnome-software] Fix the details layout when a package has a long licence string



commit e6f7b175ee8b17d0ea41a1b6ddee7046c3121487
Author: Richard Hughes <richard hughsie com>
Date:   Mon Aug 4 09:27:22 2014 +0100

    Fix the details layout when a package has a long licence string
    
    e.g. LibreOffice has an insane licence string.

 src/gs-shell-details.ui |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-details.ui b/src/gs-shell-details.ui
index ee53a1a..9e9d4fd 100644
--- a/src/gs-shell-details.ui
+++ b/src/gs-shell-details.ui
@@ -624,7 +624,7 @@
                         <property name="can_focus">False</property>
                         <property name="row_spacing">6</property>
                         <property name="column_spacing">12</property>
-                        <property name="row-homogeneous">True</property>
+                        <property name="row-homogeneous">False</property>
                         <child>
                           <object class="GtkLabel" id="label_details_version_title">
                             <property name="visible">True</property>
@@ -795,7 +795,9 @@
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
                             <property name="label">GPL</property>
-                            <property name="ellipsize">end</property>
+                            <property name="ellipsize">none</property>
+                            <property name="wrap">True</property>
+                            <property name="max-width-chars">40</property>
                             <property name="selectable">True</property>
                             <accessibility>
                               <relation target="label_details_licence_title" type="labelled-by"/>


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