[gtk/list-styles: 33/36] gtk-demo: Use style classes in the listbox demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/list-styles: 33/36] gtk-demo: Use style classes in the listbox demo
- Date: Tue, 11 Aug 2020 00:20:25 +0000 (UTC)
commit 99507eb44dd6a48dea4298f78fef4e6f00013b7e
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]