Hi Andrew, until the exports from the Qooxdoo team are back from finishing the 1.3.1/1.4 release:
I believe the problem occurs when the tableHeight is too small to even render 1 row. You can also trigger that problem by putting a table inside a container that you can make smaller, e.g. a window or a splitpane or something like that. I think you are right that this should be caught by the framework code, but you can work around it by having a minimal height for the table. I think in any case it would be worth a bug report, especially as it seems easily reproducable. There even might be a bug report already, did you check? Cheers, Fritz On Thu, 7 Apr 2011, Andrew Manson wrote: > Hi, > > I think I've just found a bug in the table layout code. I am trying to > create a single row table for my UI and I have been getting errors where the > qooxdoo script would start using 100% of my CPU and I couldn't figure out > what I was doing wrong! I eventually figured out which line I had to remove > to fix the problem: > > this.__smallTable.setHeight(20); > > I was really confused and I started investigating. I found out that if I set > the height to 22 it would work fine but if I set the height to 21 it would > go off into an infinite loop somewhere in the Layout code (or so firebug was > suggesting). > > Has anyone else come across something like this? > > Cheers, > - Andrew > > ----------------------------------------- > Andrew Manson > Graticule Cloud > Applications<http://www.graticule.com/services/cloud-computing> > www.graticule.com > -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
