mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
This commit is contained in:
parent
8783654b38
commit
708f65e388
1 changed files with 3 additions and 2 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue