diff options
author | Timm Bäder <mail@baedert.org> | 2017-12-28 16:41:08 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-12-28 16:48:35 +0100 |
commit | c4d5225aacc59e427b46c9f9bc539928e6248b8a (patch) | |
tree | d5b19bdc97aaaba83181d09ae04c86e0218ccf75 /tests/testoutsetshadowdrawing.c | |
parent | 767df913d1692ad844bd9fba5146a71c5f9e56f3 (diff) | |
download | gtk+-c4d5225aacc59e427b46c9f9bc539928e6248b8a.tar.gz |
testoutsetshadowdrawing: Add more samples
Diffstat (limited to 'tests/testoutsetshadowdrawing.c')
-rw-r--r-- | tests/testoutsetshadowdrawing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testoutsetshadowdrawing.c b/tests/testoutsetshadowdrawing.c index 5a5c01b3f8..b76382510c 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 (); |