[gnome-software] gs-details-page: Increase default width of developer name



commit 547ae081254e4b03d52d122fce92c609ab3854c0
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Jun 27 17:12:38 2019 +0100

    gs-details-page: Increase default width of developer name
    
    The max width was at 10 characters before, which is shorter than a lot
    of developer names. Hence, even though it had space to expand, the label
    would start word wrapping around 10 characters.
    
    This has to be fixed by increasing the max width, rather than by setting
    the label to expand to fill its container, so we keep the ‘verified’
    tick next to the text, rather than pushed to the right of the container.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 src/gs-details-page.ui | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 3e58f8cf..36b956bd 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -890,9 +890,10 @@
                                         <property name="label">Yorba</property>
                                         <property name="wrap">True</property>
                                         <property name="selectable">True</property>
-                                        <property name="max_width_chars">10</property>
+                                        <property name="max_width_chars">100</property>
                                         <property name="xalign">0</property>
                                         <property name="yalign">0.5</property>
+                                        <property name="hexpand">False</property>
                                       </object>
                                     </child>
                                     <child>


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