[gnome-software: 1/2] gs-metered-data-dialog: Improve justification of the message text




commit 58dec0773e733f7968e6d47347bb0fba1feae011
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Dec 16 14:49:13 2020 +0000

    gs-metered-data-dialog: Improve justification of the message text
    
    The previous justification was OK in English, but didn’t work well in
    other localisations. Make the label wider and left-justify it so it
    works better in a variety of locales.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Fixes: #1080

 src/gs-metered-data-dialog.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-metered-data-dialog.ui b/src/gs-metered-data-dialog.ui
index def0243b..085cb78c 100644
--- a/src/gs-metered-data-dialog.ui
+++ b/src/gs-metered-data-dialog.ui
@@ -32,7 +32,7 @@
             <child>
               <object class="GtkLabel">
                 <property name="visible">True</property>
-                <property name="justify">fill</property>
+                <property name="justify">left</property>
                 <property name="wrap">True</property>
                 <property name="wrap-mode">word-char</property>
                 <property name="label" translatable="yes">The current network is metered. Metered 
connections have data limits or charges associated with them. To save data, automatic updates have therefore 
been paused.
@@ -40,7 +40,7 @@
 Automatic updates will be resumed when an un­metered network becomes available. Until then, it is still 
possible to manually install updates.
 
 Alternatively, if the current network has been in­correctly identified as being metered, this setting can be 
changed.</property>
-                <property name="max-width-chars">40</property>
+                <property name="max-width-chars">50</property>
                 <property name="halign">center</property>
               </object>
             </child>


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