Gurus,

I am using the new Placeholder property in one of my projects.
Since I am re-using widgets, I need to 'clean' them as different
data is displayed.

I do

  textfield.setValue(null);

If the field has already been empty, then it will NOT display the
Placeholder but remain white.

Once I click into the field, the placeholder apears when I leave
it. I found that if I run

 textfield.syncAppearance()

the placeholder appears. I wonder if this should happen
automatically ?

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [email protected] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to