Your not using getBounds correctly. Try:

alert(jobs.system.Globals.containerMiddleRight.getBounds()["width"]);

To the best of my knowledge, getBounds should always have values if the
object is on the screen and visible.

Jim



On Wed, Feb 24, 2010 at 1:08 PM, [email protected] <
[email protected]> wrote:

> i need the  width and height of a composite but i dont get it
>
> i alwys get "null" back
>
> i try this
>
> alert(jobs.system.Globals.containerMiddleRight.getWidth());
>
> and someone tell me that i  must use this
>
> alert(jobs.system.Globals.containerMiddleRight.getBounds("width"));
>
> but alwys "null
>
> How can i get the dimension of a widget?
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to