Lothar Kaiser schrieb:
Hi Sebastian,
is there any other way to determine an 'auto'-sized widget's dimension
during runtime?
Sorry, this is currently not possible. However you can wait for the
browser to render and then use QxDom.getComputedBoxWidth and so on.
We try definitely to support such calls in future releases of our layout
system.
Sebastian
cheers,
Lothar
Am Montag, den 15.05.2006, 14:18 +0200 schrieb Sebastian Werner:
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
-------------------------------------------------------
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
-------------------------------------------------------
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