I think there's a decorator to give a gradient effect, that's overwriting
the top of the background... or something like that.

Derrell


On Mon, Nov 29, 2010 at 14:24, Ken Tilton <[email protected]> wrote:

> Setting the backgroundColor on a TextField only does the bottom half:
>
>
> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22%252F%252F%2520Create%2520a%2520button%250Avar%2520button1%2520%253D%2520new%2520qx.ui.form.Button(%2522First%2520Button%2522%252C%2520%2522icon%252F22%252Fapps%252Finternet-web-browser.png%2522)%253B%250A%250A%252F%252F%2520Document%2520is%2520the%2520application%2520root%250Avar%2520doc%2520%253D%2520this.getRoot()%253B%250A%250A%252F%252F%2520Add%2520button%2520to%2520document%2520at%2520fixed%2520coordinates%250Adoc.add(button1%252C%250A%257B%250A%2520%2520left%2520%253A%2520100%252C%250A%2520%2520top%2520%2520%253A%252050%250A%257D)%253B%250A%250A%252F%252F%2520Add%2520an%2520event%2520listener%250Abutton1.addListener(%2522execute%2522%252C%2520function(e)%2520%257B%250A%2520%2520alert(%2522Hello%2520World!%2522)%253B%250A%257D)%253B%250A%250Avar%2520input1%2520%253D%2520new%2520qx.ui.form.TextField(%2522max15%2522).set(%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520maxLength%253A%252015%252C%2520left%2520%253A%2520200%252C%2520top%2520%253A%252050%250A%257D)%253B%250A%250Adoc.add(input1)%253B%250A%250Ainput1.setBackgroundColor(%2522red%2522)%253B%250A%250A%250A%22%7D
> <
> http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22%252F%252F%2520Create%2520a%2520button%250Avar%2520button1%2520%253D%2520new%2520qx.ui.form.Button%28%2522First%2520Button%2522%252C%2520%2522icon%252F22%252Fapps%252Finternet-web-browser.png%2522%29%253B%250A%250A%252F%252F%2520Document%2520is%2520the%2520application%2520root%250Avar%2520doc%2520%253D%2520this.getRoot%28%29%253B%250A%250A%252F%252F%2520Add%2520button%2520to%2520document%2520at%2520fixed%2520coordinates%250Adoc.add%28button1%252C%250A%257B%250A%2520%2520left%2520%253A%2520100%252C%250A%2520%2520top%2520%2520%253A%252050%250A%257D%29%253B%250A%250A%252F%252F%2520Add%2520an%2520event%2520listener%250Abutton1.addListener%28%2522execute%2522%252C%2520function%28e%29%2520%257B%250A%2520%2520alert%28%2522Hello%2520World%21%2522%29%253B%250A%257D%29%253B%250A%250Avar%2520input1%2520%253D%2520new%2520qx.ui.form.TextField%28%2522max15%2522%29.set%28%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520maxLength%253A%252015%252C%2520left%2520%253A%2520200%252C%2520top%2520%253A%252050%250A%257D%29%253B%250A%250Adoc.add%28input1%29%253B%250A%250Ainput1.setBackgroundColor%28%2522red%2522%29%253B%250A%250A%250A%22%7D
> >
>
> I'd just debug the qooxdoo internals but I cannot believe my eyes so I
> am wondering if I am doing something daft.
>
> kt
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to