[gnome-software] details: Properties labels reworked again



commit 9674da74a782a8e0775041315a798870b9b07909
Author: Rafal Luzynski <digitalfreak lingonborough com>
Date:   Tue Nov 24 12:12:45 2015 +0100

    details: Properties labels reworked again
    
    The labels vertically aligned to the top, also the categories path
    and the developer's name made wrapping rather than ellipsizing and
    the license contents default width made smaller.
    Hopefully now it looks better.
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gs-shell-details.ui |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-details.ui b/src/gs-shell-details.ui
index b117d21..4a832ad 100644
--- a/src/gs-shell-details.ui
+++ b/src/gs-shell-details.ui
@@ -636,6 +636,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Version</property>
                             <style>
                               <class name="dim-label"/>
@@ -654,6 +655,7 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">0.12.3</property>
                             <property name="ellipsize">end</property>
                             <property name="selectable">True</property>
@@ -673,6 +675,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Updated</property>
                             <style>
                               <class name="dim-label"/>
@@ -691,6 +694,7 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">May 12, 2012</property>
                             <property name="selectable">True</property>
                             <accessibility>
@@ -709,6 +713,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Category</property>
                             <style>
                               <class name="dim-label"/>
@@ -727,8 +732,10 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">Photos &amp; Video</property>
-                            <property name="ellipsize">end</property>
+                            <property name="wrap">True</property>
+                            <property name="max-width-chars">10</property>
                             <property name="selectable">True</property>
                             <accessibility>
                               <relation target="label_details_category_title" type="labelled-by"/>
@@ -746,6 +753,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Source</property>
                             <style>
                               <class name="dim-label"/>
@@ -764,6 +772,7 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">Upstream</property>
                             <property name="ellipsize">end</property>
                             <property name="selectable">True</property>
@@ -783,6 +792,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">License</property>
                             <style>
                               <class name="dim-label"/>
@@ -801,6 +811,7 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">GPL</property>
                             <property name="ellipsize">none</property>
                             <property name="wrap">True</property>
@@ -822,6 +833,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Size</property>
                             <style>
                               <class name="dim-label"/>
@@ -840,6 +852,7 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">30 MB</property>
                             <property name="selectable">True</property>
                             <accessibility>
@@ -858,6 +871,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label" translatable="yes">Developer</property>
                             <style>
                               <class name="dim-label"/>
@@ -876,8 +890,10 @@
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
                             <property name="xalign">0</property>
+                            <property name="yalign">0</property>
                             <property name="label">Yorba</property>
-                            <property name="ellipsize">end</property>
+                            <property name="wrap">True</property>
+                            <property name="max-width-chars">10</property>
                             <property name="selectable">True</property>
                             <accessibility>
                               <relation target="label_details_developer_title" type="labelled-by"/>


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