[gnome-software: 9/24] gs-category-page: Add a heading for the ‘other apps’ section




commit e2f34f172d7c41a1dec50aab5d2696d35b0ed510
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Apr 22 14:20:48 2021 +0100

    gs-category-page: Add a heading for the ‘other apps’ section
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-category-page.ui | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-category-page.ui b/src/gs-category-page.ui
index 3863b677a..1d90514f1 100644
--- a/src/gs-category-page.ui
+++ b/src/gs-category-page.ui
@@ -56,12 +56,26 @@
                       </object>
                     </child>
 
+                    <child>
+                      <object class="GtkLabel" id="other_heading">
+                        <property name="visible" bind-source="category_detail_box" bind-property="visible" 
bind-flags="sync-create|bidirectional" />
+                        <property name="xalign">0</property>
+                        <property name="margin_start">24</property>
+                        <property name="margin_top">24</property>
+                        <property name="margin_end">24</property>
+                        <property name="label" translatable="yes" comments="Heading for the rest of the apps 
on a category page">Other Apps</property>
+                        <accessibility>
+                          <relation target="category_detail_box" type="label-for"/>
+                        </accessibility>
+                        <style>
+                          <class name="index-title-alignment-software"/>
+                        </style>
+                      </object>
+                    </child>
                     <child>
                       <object class="GtkFlowBox" id="category_detail_box">
                         <property name="margin_start">24</property>
                         <property name="margin_end">24</property>
-                        <property name="margin_top">14</property>
-                        <property name="margin_bottom">21</property>
                         <property name="halign">fill</property>
                         <property name="visible">True</property>
                         <property name="row_spacing">14</property>


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