[gtk/columnview-resizing: 38/38] gtk-demo: Make some columns resizable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/columnview-resizing: 38/38] gtk-demo: Make some columns resizable
- Date: Wed, 3 Jun 2020 16:33:19 +0000 (UTC)
commit 522da58c69207c9c1f78e6a69079be851b8309a4
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 3 12:30:55 2020 -0400
gtk-demo: Make some columns resizable
Make the columns in the List > Settings demo
resizable, to demonstrate this functionality.
demos/gtk-demo/listview_settings.ui | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/demos/gtk-demo/listview_settings.ui b/demos/gtk-demo/listview_settings.ui
index d567803140..12466a8a5b 100644
--- a/demos/gtk-demo/listview_settings.ui
+++ b/demos/gtk-demo/listview_settings.ui
@@ -104,6 +104,7 @@
<child>
<object class="GtkColumnViewColumn">
<property name="title">Value</property>
+ <property name="resizable">1</property>
<property name="header-menu">header_menu</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
@@ -131,6 +132,7 @@
<child>
<object class="GtkColumnViewColumn" id="type_column">
<property name="title">Type</property>
+ <property name="resizable">1</property>
<property name="header-menu">header_menu</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
@@ -158,6 +160,7 @@
<child>
<object class="GtkColumnViewColumn" id="default_column">
<property name="title">Default</property>
+ <property name="resizable">1</property>
<property name="header-menu">header_menu</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
@@ -185,6 +188,7 @@
<child>
<object class="GtkColumnViewColumn" id="summary_column">
<property name="title">Summary</property>
+ <property name="resizable">1</property>
<property name="visible">0</property>
<property name="header-menu">header_menu</property>
<property name="factory">
@@ -216,6 +220,7 @@
<child>
<object class="GtkColumnViewColumn" id="description_column">
<property name="title">Description</property>
+ <property name="resizable">1</property>
<property name="visible">0</property>
<property name="header-menu">header_menu</property>
<property name="factory">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]