Further investigation showed, that when one of the Col 1x columns is set to invisible, that last visible column (Col 3 in the example) suddenly takes up all the available width.
So I have now a work around (forcing this last column to it's intended fixed size), but it seems to me that something in the width calculation code is broken. Cheers, Fritz On Wed, 18 Feb 2009, Fritz Zaucker wrote: > Hi, > > something seems to have changed in 0.8 versus 0.7 in the resize behaviour. > > I have a table with e.g. 3 columns: > > Col 1 | Col 2 | Col 3 > > The content of Col 1 has to be changed depending on the selected locale. > > In 0.7.x I could just define a table like this: > > Col 1en | Col 1de | Col 1fr | Col 2 | Col 3 > > with a flex ('1*') width on Cols 1en, 1de, 1fr. > > > Initially Col 1en was set to be visible and Cols 1de and 1fr where set > unvisible. On a locale change I just changed the visibilities accordingly > and everything was fine. > > In 0.7.4 the visible Col1x would take up all available space not needed for > Cols 2 and 3. > > Now in 0.8.1 it seems that the initial column width are calculated at first > appearance of the table with Col 1en set to the maximum available width. > However, on a locale/visibility change, the Col 1x width are NOT "maximized" > anymore but are set to some relatively small width. > > Anybody have an idea/hint how to solve the problem (short of having just one > column and replacing the cell content of each line with the locale specific > content)? This was such an elegant solution in 0.7.4 ... > > Thanks, > Fritz > > P.S.: The table itself lives inside a VBox layout and is added with {flex : > 1}, in case this matters. > > -- 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 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel