Hi,

getLabel only returns the string which should be displayed. Thats why its not 
working. What you need is the widget rendering that string which is a child 
control. getChildControl("label") should get you the label widget and with 
that, you can set your desired behavior.

Regards,
Martin


Am 17.08.2010 um 21:23 schrieb Stefan Andersson:

I have noticed in firefox that the text of a checkbox is not rendered middled 
in relation to the box. It looks awkward.

For labels you have to do this: .setAlignY("middle"); when you want them in the 
vertical middle.

How is it supposed to be? If this is the way, how can I make it middled?

getLabel().setAlignY does not work. Neither does .setCenter(true) which is the 
horizontal axis only.

Any solution on this?

Stefan


<ATT00001..txt><ATT00002..txt>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to