Hi Herman,

On Wednesday May 11 2011 15:19:50 hgc2002 wrote:
> I've used getWidth(), getInnerSize().width, getSizeHint().width but I can't
> get the width dynamicaly.
"getWidth" is only delivering a value if one is set by using the "setWidth" 
method otherwise it would return "null" which basically means that the widget 
will get the space which is needed.

The "getSizeHint" method does return the value which the widget wants to get 
from the layout system.

The "getBounds" method is probably the most interesting one for you, since it 
does return the real width which is occupied by the widget.

> If I reload the page, the value changes ok, but if I resize the window, the
> value still the same.
Do you have a width hard-wired? Keep in mind that the layout has to be 
configured correctly so the widget can strectch.

Regards,
  Alex

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to