Thanks for testing it Jim,no theming at all here, to me this happens within my existing app as well as on plain stub app created by "qooxdoo/tool/bin/create-application -n xyz"...
To give anyone an idea about what the problem looks like, I attached a screenshot of the test case.
I'm happy to hear that I seem to be the only one having this prob, but I've got no clue what makes my setting any specific, as I already checked with plenty o'browsers and OS...
Can anyone comment on whether the <div> attributes of the widget are created at generation time (./generate.py source) or at runtime? Maybe I've got to fine tune my generator to have it write correct values? I usually use cygwin with Python 2.5.1, running flawlessly AFAICS.
Needless to say, the prob appears in source and in build. Bye, Stefan Jim Hunter wrote:
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 JimOn Thu, Nov 6, 2008 at 7:08 AM, Stefan Volbers <[EMAIL PROTECTED] <mailto:[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
<<inline: textfieldtest.png>>
------------------------------------------------------------------------- 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
