[gnome-software: 1/2] app-context-bar: Centre multi-line titles



commit 3866e99ef57c834aaa94c0374f09580da7379421
Author: Will Thompson <will willthompson co uk>
Date:   Wed Feb 16 17:10:35 2022 +0000

    app-context-bar: Centre multi-line titles
    
    Helps: #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]