Hi Amit,

On Thursday 05 March 2009 Amit Rana wrote:
> Congratz for the new pre-release of Qooxdoo. Can you let me know when
> will the SDK be out ?
Today ... that's the plan ;-)

Change your snippet to

--snip--
var doc = this.getRoot();
var t = new qx.ui.form.TextField();
t.setBackgroundColor("red");

// remove the decorator
t.setDecorator(null);

doc.add(t);
 --snip--

> Apparently, it sets only a part of the textfield background and not the
> full background. Why so ?
Because the "decorator" covers the rest. In the case of the textfield the 
decorator consists of a background-image and a background-color. Since you 
only change the background-color the rest of the decorator remains there and 
shows this artefacts.

cheers,
   Alex

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to