[gtk/list-styles: 5/8] gtk-demo: Use a style class on the sidebar




commit b035620eca33adedabd1bab3d92e7c57137f397d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 9 08:27:56 2020 -0400

    gtk-demo: Use a style class on the sidebar
    
    Use .navigation-sidebar for the main sidebar.

 demos/gtk-demo/main.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index 8ea11ab795..acc789d0ff 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -70,6 +70,9 @@
 
                 <child>
                   <object class="GtkListView" id="listview">
+                    <style>
+                      <class name="navigation-sidebar"/>
+                    </style>
                     <property name="factory">
                       <object class="GtkBuilderListItemFactory">
                         <property name="resource">/ui/main-listitem.ui</property>


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