[gnome-software/wjt/centre-context-bar-titles] app-context-bar: Centre multi-line titles




commit aec85760b4bf9941f7125db34f87140204fbe053
Author: Will Thompson <wjt endlessos org>
Date:   Mon Feb 14 14:07:39 2022 +0000

    app-context-bar: Centre multi-line titles
    
    See #1639

 src/gs-app-context-bar.ui | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gs-app-context-bar.ui b/src/gs-app-context-bar.ui
index 241cb721c..705d7dcdb 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -47,6 +47,7 @@
                 </child>
                 <child>
                   <object class="GtkLabel" id="storage_tile_title">
+                    <property name="justify">center</property>
                     <!-- this is a placeholder: the text is actually set in code -->
                     <property name="label">Download Size</property>
                     <property name="wrap">True</property>
@@ -107,6 +108,7 @@
                 </child>
                 <child>
                   <object class="GtkLabel" id="safety_tile_title">
+                    <property name="justify">center</property>
                     <!-- this is a placeholder: the text is actually set in code -->
                     <property name="label">Safe</property>
                     <property name="wrap">True</property>
@@ -176,6 +178,7 @@
                 </child>
                 <child>
                   <object class="GtkLabel" id="hardware_support_tile_title">
+                    <property name="justify">center</property>
                     <!-- this is a placeholder: the text is actually set in code -->
                     <property name="label">Adaptive</property>
                     <property name="wrap">True</property>
@@ -237,6 +240,7 @@
                 </child>
                 <child>
                   <object class="GtkLabel" id="age_rating_tile_title">
+                    <property name="justify">center</property>
                     <!-- this one’s not a placeholder -->
                     <property name="label" translatable="yes">Age Rating</property>
                     <property name="wrap">True</property>


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