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


Title: qooxdoo demo

Reply via email to