summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/main.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-01-11 18:06:06 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-01-11 18:06:06 -0500
commit902ebaafd5ddca6fec8a7271190f667892810bfd (patch)
treeb44e42bc2c591eb18e7da39c9d0fcc1b2eff2ac8 /demos/gtk-demo/main.ui
parentc68feef583a03cefd08551eac977dc8f48e89da9 (diff)
downloadgtk+-902ebaafd5ddca6fec8a7271190f667892810bfd.tar.gz
gtk3-demo: avoid a resizing problem
Two changes that sneaked in during the GtkApplication port made it so that the window would not let you shrink it again after you've made it larger. This also yielded very surprising results when unmaximizing the window: it would come back to have a minimum width slightly larger than the screen, making maximization fail from then on.
Diffstat (limited to 'demos/gtk-demo/main.ui')
-rw-r--r--demos/gtk-demo/main.ui5
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index 63b07dae45..07d2069797 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -31,8 +31,8 @@
</columns>
</object>
<object class="GtkApplicationWindow" id="window">
- <property name="width_request">800</property>
- <property name="height_request">600</property>
+ <property name="default-width">800</property>
+ <property name="default-height">600</property>
<property name="can_focus">False</property>
<property name="title">GTK+ Demo</property>
<signal name="delete-event" handler="gtk_false" swapped="no"/>
@@ -123,7 +123,6 @@
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="hscrollbar_policy">never</property>
<property name="shadow_type">none</property>
<child>
<object class="GtkTextView" id="info-textview">