summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-09-14 18:34:21 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-09-14 18:35:08 +0100
commit6ee2bf628614e9c14b061bd48c2efd2c9515ab19 (patch)
tree77ef384bb5b4aa3e2e9f3a5888be123a7dff8357 /demos
parentac4faad8a24e7dae76e42e5de82e639690ee47fd (diff)
downloadgtk+-6ee2bf628614e9c14b061bd48c2efd2c9515ab19.tar.gz
widget-factory: Usefully demo Frame shadow types
Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all treated identically and provide no way for themes to differentiate, just keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame
Diffstat (limited to 'demos')
-rw-r--r--demos/widget-factory/widget-factory.ui33
1 files changed, 3 insertions, 30 deletions
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 253a4aed68..be50421e52 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1160,7 +1160,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="shadow_type">in</property>
<child type="label">
<object class="GtkLabel" id="label1">
- <property name="label" translatable="yes">&lt;b&gt;In&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Shadow&lt;/b&gt;</property>
<property name="use_markup">1</property>
</object>
</child>
@@ -1168,10 +1168,10 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</child>
<child>
<object class="GtkFrame" id="frame2">
- <property name="shadow_type">out</property>
+ <property name="shadow_type">none</property>
<child type="label">
<object class="GtkLabel" id="label2">
- <property name="label" translatable="yes">&lt;b&gt;Out&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;No shadow&lt;/b&gt;</property>
<property name="use_markup">1</property>
</object>
</child>
@@ -1180,33 +1180,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="position">1</property>
</packing>
</child>
- <child>
- <object class="GtkFrame" id="frame3">
- <child type="label">
- <object class="GtkLabel" id="label17">
- <property name="label" translatable="yes">&lt;b&gt;Etched in&lt;/b&gt;</property>
- <property name="use_markup">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="frame4">
- <property name="shadow_type">etched-out</property>
- <child type="label">
- <object class="GtkLabel" id="label18">
- <property name="label" translatable="yes">&lt;b&gt;Etched out&lt;/b&gt;</property>
- <property name="use_markup">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">3</property>
- </packing>
- </child>
</object>
<packing>
<property name="position">6</property>