[gnome-software/1851-source-chooser-breaks-layout-on-mobile: 22/22] gs-details-page: Limit max-width-chars for the origin name label




commit 6a475bad9418cd2b3fb0091532073ee0bea98215
Author: Milan Crha <mcrha redhat com>
Date:   Tue Aug 16 14:29:34 2022 +0200

    gs-details-page: Limit max-width-chars for the origin name label
    
    Use even smaller value, to not make the button too wide with long
    origin names.

 src/gs-details-page.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 7b8b2cb55..2178f181d 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -364,7 +364,7 @@
                                                         <child>
                                                           <object class="GtkLabel" 
id="origin_packaging_label">
                                                             <property name="valign">center</property>
-                                                            <property name="max-width-chars">20</property>
+                                                            <property name="max-width-chars">12</property>
                                                             <property name="ellipsize">end</property>
                                                             <attributes>
                                                               <attribute name="weight" value="normal"/>


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