summaryrefslogtreecommitdiff
path: root/demos/gtk-demo
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-13 20:57:00 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-05-13 20:57:00 +0500
commit3bf6bdae733e89efc4809c5fb956ed02ed8be830 (patch)
treefbfa7ce00025b0b45c048ea7ca7b081d127fcda1 /demos/gtk-demo
parentd0c54c128699b53c8757669d6cd24d071be3a9ce (diff)
downloadgtk+-3bf6bdae733e89efc4809c5fb956ed02ed8be830.tar.gz
demo: Remove double borders from the treeview
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r--demos/gtk-demo/main.ui49
1 files changed, 24 insertions, 25 deletions
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index c605609c78..cc652598ba 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -60,35 +60,31 @@
<child>
<object class="GtkBox">
<child>
- <object class="GtkFrame">
+ <object class="GtkScrolledWindow">
+ <property name="width-request">120</property>
+ <property name="hscrollbar-policy">never</property>
+ <property name="min-content-width">150</property>
<child>
- <object class="GtkScrolledWindow">
- <property name="width-request">120</property>
- <property name="hscrollbar-policy">never</property>
- <property name="min-content-width">150</property>
+ <object class="GtkTreeView" id="treeview">
+ <property name="model">treestore</property>
+ <property name="headers-visible">0</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="treeview-selection">
+ <property name="mode">browse</property>
+ </object>
+ </child>
<child>
- <object class="GtkTreeView" id="treeview">
- <property name="model">treestore</property>
- <property name="headers-visible">0</property>
- <child internal-child="selection">
- <object class="GtkTreeSelection" id="treeview-selection">
- <property name="mode">browse</property>
- </object>
+ <object class="GtkTreeViewColumn">
+ <child>
+ <object class="GtkCellRendererText"/>
+ <attributes>
+ <attribute name="style">4</attribute>
+ <attribute name="text">1</attribute>
+ </attributes>
</child>
<child>
- <object class="GtkTreeViewColumn">
- <child>
- <object class="GtkCellRendererText"/>
- <attributes>
- <attribute name="style">4</attribute>
- <attribute name="text">1</attribute>
- </attributes>
- </child>
- <child>
- <object class="GtkCellRendererText">
- <property name="text"> </property>
- </object>
- </child>
+ <object class="GtkCellRendererText">
+ <property name="text"> </property>
</object>
</child>
</object>
@@ -98,6 +94,9 @@
</object>
</child>
<child>
+ <object class="GtkSeparator"/>
+ </child>
+ <child>
<object class="GtkNotebook" id="notebook">
<property name="scrollable">1</property>
<property name="enable-popup">1</property>