[gtk+/wip/baedert/gl: 145/146] testoutsetshadowdrawing: Add more samples
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gl: 145/146] testoutsetshadowdrawing: Add more samples
- Date: Thu, 28 Dec 2017 15:57:11 +0000 (UTC)
commit c4d5225aacc59e427b46c9f9bc539928e6248b8a
Author: Timm Bäder <mail baedert org>
Date: Thu Dec 28 16:41:08 2017 +0100
testoutsetshadowdrawing: Add more samples
tests/testoutsetshadowdrawing.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/testoutsetshadowdrawing.c b/tests/testoutsetshadowdrawing.c
index 5a5c01b..b763825 100644
--- a/tests/testoutsetshadowdrawing.c
+++ b/tests/testoutsetshadowdrawing.c
@@ -45,7 +45,7 @@ static const char *css =
" min-width: 100px;"
" min-height:100px;"
" border-radius: 7px 7px 0px 0px;"
-" box-shadow: 0px 3px 9px 1px rgba(0, 0, 0, 0.5);"
+" box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.5);"
"}"
#if 0
".b2 {"
@@ -111,6 +111,7 @@ main (int argc, char **argv)
w = gtk_button_new ();
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
gtk_style_context_add_class (gtk_widget_get_style_context (w), "three");
+ gtk_widget_set_opacity (w, 0.7);
gtk_container_add (GTK_CONTAINER (top), w);
w = gtk_button_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]