Hugh Gibson schrieb:
>> "ERROR: qx.ui.layout.GridLayout[2569]: _computePreferredBoxWidth 
>> failed:
>> InternalError - too much recursion".
>>
>> I don't if this is a bug or just I don't using it right.
>> Code snippets:
>>
>> var layoutPop = new qx.ui.layout.GridLayout();
>> layoutPop.setColumnWidth(0, "75%");
>>     
>
> I can get
> http://demo.qooxdoo.org/current/demobrowser/#test~GridLayout_4.html to
> fail in IE7 and FF if I just resize the page so that the grid layout area
> goes to a minimum either horizontally or vertically. Perhaps if you try
> to avoid that case it might work (set a minimum size for the grid layout
> might work).
>
> Reported at http://bugzilla.qooxdoo.org/show_bug.cgi?id=824
>
> We'll wait for an official response...
>
> Hugh
Hi,

the grid layout in 0.7 is pretty buggy. It does work for simple grids, 
e.g. no nested layouts, but it can easily run in situations, which 
result in an infinite recursion. We have implemented a new grid layout 
from scratch for 0.8, which fixes all known issues of the old grid. We 
do not plan to work on the 0.7 grid because to fix the open issues we 
had to reimplement it for 0.7 again.

Sorry for the bad news.

If possible try to use nested box layouts. These are known to work very 
roust.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to