Hi!

getBoxWidth and the corresponds should be seen as private. They directly interact with the current layout handling. They are not build for public use right now. Sorry. We will try to cover this issue with one of the following releases.

Sebastian



Lothar Kaiser schrieb:
Hi everybody,

I've discovered a strange behaviour when trying to implement a custom
widget.
When I try to get the width of my widget (which has been set to 'auto')
using the method getBoxWidth() it is being displayed wrong.
I attached the file which you can simply put into the demo/test
directory to see the effect.


The error happens if you uncomment the last line:
        
        widget.debug(widget._messagePane.getBoxWidth());




Somehow the QxAtom's layout gets destroyed, when you call the
surrounding box's getBoxWidth()-method.
Any suggestions how to fix this or get the size of an 'auto'-sized
widget instead?
Thanks in advance,

Lothar




------------------------------------------------------------------------




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to