Thanks, Tobi. Just for the record:
In order to limit the growth of the table to height needed to display all available rows I now set var rows = tableModel.getRowCount(); var rowHeight = table.getRowHeight(); table.setMaxHeight((rows+3)*rowHeight); The +3 accounts more or less for the header and statusbar (couldn't figure out how to get it more precisely, but that is good enough for my purposes. Cheers, Fritz On Tue, 9 Sep 2014, Tobias Oetiker wrote: > Fritz, > > it is the old table widget oddity, that its default height is > rather hight ... just set the height property to something smaller > > http://preview.tinyurl.com/nyqqeb5 > > cheers > tobi > > Today Fritz Zaucker wrote: > >> Hi, >> >> I am trying to create a window with a ScrollContainer and a Table inside. >> >> I would like the ScrollContainer to take up as much vertical space as >> possible. However, the Table seems to always take up more space than >> necessary (about 10 rows high), even if it only has less than 10 rows of >> data: >> >> http://tinyurl.com/kcudr3y >> >> Note: I don't know in advance who much vertical space t >> >> Any suggestions? >> >> Thanks, >> Fritz -- 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 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel