[gtk/list-styles: 114/116] gtk-demo: Use style classes in the settings demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/list-styles: 114/116] gtk-demo: Use style classes in the settings demo
- Date: Sun, 9 Aug 2020 14:31:23 +0000 (UTC)
commit 9271d0cd60200f0660c45223ac5f3266e1d8ec7d
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 9 08:28:29 2020 -0400
gtk-demo: Use style classes in the settings demo
Use .navigation-sidebar on the left, and .data-table
on the right.
demos/gtk-demo/listview_settings.ui | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/demos/gtk-demo/listview_settings.ui b/demos/gtk-demo/listview_settings.ui
index f428d6b4dd..35c3c79c98 100644
--- a/demos/gtk-demo/listview_settings.ui
+++ b/demos/gtk-demo/listview_settings.ui
@@ -20,6 +20,9 @@
<object class="GtkScrolledWindow">
<child>
<object class="GtkListView" id="listview">
+ <style>
+ <class name="navigation-sidebar"/>
+ </style>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
@@ -73,6 +76,9 @@
<property name="vexpand">1</property>
<child>
<object class="GtkColumnView" id="columnview">
+ <style>
+ <class name="data-table"/>
+ </style>
<child>
<object class="GtkColumnViewColumn" id="name_column">
<property name="title">Name</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]