Hi Stefan,

yes and no. The documentation says that getWidth returns the property 
value "width" and computed is in brackets, which means that the method 
is computed due to the property system.

If you follow the link to the "width" property. The documentation says 
that the property "width" is the preferred width and it could be 
different from the set value, because it's depends form the current 
layout. The layout can change the value, depends on minWidth, maxWidth, 
allowStretchX and allowStretchX. That's why the value could be different 
from your init value.

Cheers,
Chris


Am 23.02.2010 09:42, schrieb [email protected]:
> Hello,
>
>   i try this
>
> alert(jobs.system.Globals.containerMain.getWidth());
>
> and alwys get "null"
>
> the documentation says: i get the computed size but i dont ge tthe
> computed size. Only when i set it by myself with setWidth i get
> something but something thats havent any  connection to the  real
> visible size.
>
> ------------------------------------------------------------------------------
> Download Intel® 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
>    


-- 
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Download Intel® 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