[gtk/list-styles: 41/48] gtk-demo: Use style classes in the listbox demo




commit 283fc9d7e4edaae324af2dabcf990e56e1066407
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 10 20:19:09 2020 -0400

    gtk-demo: Use style classes in the listbox demo
    
    Add a .rich-list style class to the controls demo.

 demos/gtk-demo/listbox2.ui | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/demos/gtk-demo/listbox2.ui b/demos/gtk-demo/listbox2.ui
index c4f4700caa..181ee5d4dc 100644
--- a/demos/gtk-demo/listbox2.ui
+++ b/demos/gtk-demo/listbox2.ui
@@ -36,6 +36,10 @@
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
                         <signal name="row-activated" handler="row_activated"/>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
+
                         <child>
                           <object class="GtkListBoxRow">
                             <child>
@@ -151,6 +155,9 @@
                       <object class="GtkListBox">
                         <property name="selection-mode">none</property>
                         <property name="show-separators">1</property>
+                        <style>
+                          <class name="rich-list"/>
+                        </style>
 
                         <child>
                           <object class="GtkListBoxRow">


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