Hi,

That is why it not working for me - I am using the Grid layout.  Can this be
extended to the Grid layout also?

Like i have written in my previous post: Just override the hasHeightForWidth 
function and return "true". The method will be called, even when it is a grid 
layout.


 if (layout && layout.hasHeightForWidth()) {
        var contentHeight =  layout.getHeightForWidth(width);

So the method is only called when the layout returns "true" for 
"hasHeightForWidth".


Tino


Am 20.05.2011 um 18:10 schrieb dabd:



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/when-is-getHeightForWidth-called-tp6386125p6386671.html
Sent from the qooxdoo mailing list archive at Nabble.com<http://Nabble.com>.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including 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