[gnome-music/wip/mschraal/searchview-rework: 3/8] data/ui: Add section headers to SearchView



commit 04127bb9a2769cdb681e8f6530f3c8eecc164d4b
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Jul 31 18:57:20 2019 +0200

    data/ui: Add section headers to SearchView

 data/ui/SearchView.ui | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/data/ui/SearchView.ui b/data/ui/SearchView.ui
index c6b05dcd..1b23e1b8 100644
--- a/data/ui/SearchView.ui
+++ b/data/ui/SearchView.ui
@@ -9,9 +9,49 @@
           <object class="GtkBox">
             <property name="halign">center</property>
             <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkBox">
+                <property name="halign">fill</property>
+                <property name="homogeneous">True</property>
+                <property name="orientation">horizontal</property>
+                <child>
+                  <object class="GtkLabel">
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes">Artists</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkButton">
+                    <property name="halign">end</property>
+                    <property name="label" translatable="yes">View All</property>
+                  </object>
+                </child>
+              </object>
+            </child>
             <child>
               <object class="GtkListBox" id="_artist_listbox"/>
             </child>
+            <child>
+              <object class="GtkBox">
+                <property name="halign">fill</property>
+                <property name="homogeneous">True</property>
+                <property name="orientation">horizontal</property>
+                <child>
+                  <object class="GtkLabel">
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes">Albums</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkButton">
+                    <property name="halign">end</property>
+                    <property name="label" translatable="yes">View All</property>
+                  </object>
+                </child>
+              </object>
+            </child>
             <child>
               <object class="GtkFlowBox" id="_album_flowbox">
                 <property name="column_spacing">6</property>
@@ -30,6 +70,26 @@
                 </style>
               </object>
             </child>
+            <child>
+              <object class="GtkBox">
+                <property name="halign">fill</property>
+                <property name="homogeneous">True</property>
+                <property name="orientation">horizontal</property>
+                <child>
+                  <object class="GtkLabel">
+                    <property name="can_focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes">Songs</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkButton">
+                    <property name="halign">end</property>
+                    <property name="label" translatable="yes">View All</property>
+                  </object>
+                </child>
+              </object>
+            </child>
             <child>
               <object class="GtkListBox" id="_songs_listbox"/>
             </child>


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