[gtk+] Revert "widget-factory: Usefully demo Frame shadow types"
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "widget-factory: Usefully demo Frame shadow types"
- Date: Mon, 2 Oct 2017 19:26:05 +0000 (UTC)
commit 06bf049b1ab33ed2c03dd5b59dd569d65a70e4ee
Author: Daniel Boles <dboles src gmail com>
Date: Mon Oct 2 08:10:32 2017 +0100
Revert "widget-factory: Usefully demo Frame shadow types"
This reverts commit 6ee2bf628614e9c14b061bd48c2efd2c9515ab19.
There is a way to get different kinds of borders: it's CSS. It's better
to keep the 4 Frames and demo the different styles we can do using CSS.
demos/widget-factory/widget-factory.ui | 33 +++++++++++++++++++++++++++++--
1 files changed, 30 insertions(+), 3 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index be50421..253a4ae 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"><b>Shadow</b></property>
+ <property name="label" translatable="yes"><b>In</b></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">none</property>
+ <property name="shadow_type">out</property>
<child type="label">
<object class="GtkLabel" id="label2">
- <property name="label" translatable="yes"><b>No
shadow</b></property>
+ <property name="label" translatable="yes"><b>Out</b></property>
<property name="use_markup">1</property>
</object>
</child>
@@ -1180,6 +1180,33 @@ 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"><b>Etched
in</b></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"><b>Etched
out</b></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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]