What theme are you using? I just tried your code and I get a text field with
a solid background color. I was adding the text field to one of my already
created controls, not the root element. ... I just tested it on the root
element and it worked fine as well.
For me it seems to be working fine. I am using the SDK version of .8
Jim
On Thu, Nov 6, 2008 at 7:08 AM, Stefan Volbers <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> when I try to change the background color of a qx.ui.form.TextField, it
> is colored only partially; the upper half remains white.
> This method is inherited from qx.ui.core.Widget. Other subclasses like
> qx.ui.basic.Label act as expected.
>
> Using firebug's inspector, I found textfield's decorator be exactly the
> same as label's:
>
> <div style="overflow: hidden; font-size: 0pt; line-height: 0pt;
> position: absolute; top: 0pt; left: 0pt; z-index: 5;" qxtype="decorator">
> <div style="border: 1px solid rgb(51, 72, 102); opacity: 0.35; width:
> 80px; height: 20px;"/>
> <div style="border-left: 1px solid rgb(51, 72, 102); border-right: 1px
> solid rgb(51, 72, 102); position: absolute; top: 1px; left: 0px; width:
> 80px; height: 20px;"/>
> <div style="border-top: 1px solid rgb(51, 72, 102); border-bottom: 1px
> solid rgb(51, 72, 102); position: absolute; top: 0px; left: 1px; width:
> 80px; height: 20px;"/>
> <div style="background-image:
>
> url(../../../qooxdoo/qooxdoo-0.8-sdk/framework/source/resource/qx/decoration/Modern/form/input.png);
> background-position: 0px 0.01px; background-repeat: repeat-x; position:
> absolute; top: 1px; left: 1px; background-color: rgb(0, 0, 255); width:
> 80px; height: 20px;"/>
> <div style="border: 1px solid rgb(153, 195, 254); position: absolute;
> top: 1px; left: 1px; opacity: 0.999999; width: 78px; height: 18px;"/>
> </div>
>
> When tweaking these values I succeeded in filling the background
> completely like that (notice values top and height)
> background-image:
>
> url(../../../qooxdoo/qooxdoo-0.8-sdk/framework/source/resource/qx/decoration/Modern/form/input.png);
> background-position: 0px 0.01px; background-repeat: repeat-x; position:
> absolute; top: -12px; left: 1px; background-color: rgb(0, 128, 128);
> width: 80px; height: 32px;
>
> I use qooxdoo 0.8 SDK, tested with Firefox 2, Opera 9.5 and IE6 in Win
> and Firefox 3 in Ubuntu8.04.
>
> var tf = new qx.ui.form.TextField("Hello there...");
>
> var doc = this.getRoot();
>
> doc.add(tf, {left:100, top: 50});
>
> tf.setBackgroundColor("#0000FF");
>
> I couldn't find anything on that topic in bugzilla and am confused if
> noone else stumbled upon this one...
>
> Is this bug known, maybe fixed in SVN, or did I do something horribly
> wrong??
>
> Thx in advance,
> Stefan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel