[gnome-shell] tests/entry: add text-shadow



commit 708f65e38828fa1089e698cf1ea7a72fc9652cd5
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 6 14:32:39 2017 -0700

    tests/entry: add text-shadow
    
    Also make the text larger and add an example string, since event
    delivery does not seem to work properly under tests.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783484

 tests/interactive/entry.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/interactive/entry.js b/tests/interactive/entry.js
index 85652fa..f17179d 100644
--- a/tests/interactive/entry.js
+++ b/tests/interactive/entry.js
@@ -13,10 +13,11 @@ function test() {
     let vbox = new St.BoxLayout({ vertical: true,
                                   width: stage.width,
                                   height: stage.height,
-                                  style: 'padding: 10px; spacing: 10px; font: 15px sans-serif;' });
+                                  style: 'padding: 10px; spacing: 10px; font: 32px sans-serif;' });
     stage.add_actor(vbox);
 
-    let entry = new St.Entry({ style: 'border: 1px solid black;' });
+    let entry = new St.Entry({ style: 'border: 1px solid black; text-shadow: 0 2px red;',
+                               text: 'Example text' });
     vbox.add(entry,
              { expand: true,
                y_fill: false, y_align: St.Align.MIDDLE });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]