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




commit 9a8ad277661f62a93f4047b4633ed9d77d1900e0
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]