Hi, I use 0.8.2.
I have a toolbar and menubar. Whenever a button is clicked from the toolbar or menubar a window opens below the menubar. The Window contains a table and toolbar. The table and toolbar should occupy the entire window space. And the window should occupy the entire space below the menubar. I have used VBox for the window but still there is some space below the table. -Shankar Christian Schmidt-18 wrote: > > Hi Shankar, > > I couldn't reproduce your issue. Which qooxdoo version do you use? > > Here my playground code: > http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520win%2520%253D%2520new%2520qx.ui.window.Window%28%2522Test%2520Window%2522%29%253B%250Awin.setContentPadding%280%252C%25200%252C%25200%252C%25200%29%253B%250Awin.setLayout%28new%2520qx.ui.layout.VBox%28%29%29%253B%250Awin.open%28%29%253B%250A%2520%2520%2520%2520%2520%2520%250Avar%2520toolbar%2520%253D%2520new%2520qx.ui.toolbar.ToolBar%28%29%253B%250Atoolbar.add%28new%2520qx.ui.toolbar.Button%28%2522Button%2522%29%29%253B%250Awin.add%28toolbar%29%253B%250A%2520%2520%2520%2520%2520%2520%250Avar%2520nextId%2520%253D%25200%253B%250Avar%2520rowData%2520%253D%2520function%28rowCount%29%2520%257B%250A%2520%2520var%2520rowData%2520%253D%2520%255B%255D%253B%250A%2520%2520var%2520now%2520%253D%2520new%2520Date%28%29.getTime%28%29%253B%250A%2520%2520var%2520dateRange%2520%253D%2520400%2520*%252024%2520*%252060%2520*%252060%2520*%25201000%253B%2520%252F%252F%2520400%2520days%250A%2520%2520for%2520%28var%2520row%2520%253D%25200%253B%2520row%2520%253C%2520rowCount%253B%2520row%252B%252B%29%2520%257B%250A%2520%2520%2520%2520var%2520date%2520%253D%2520new%2520Date%28now%2520%252B%2520Math.random%28%29%2520*%2520dateRange%2520-%2520dateRange%2520%252F%25202%29%253B%250A%2520%2520%2520%2520rowData.push%28%255BnextId%252B%252B%252C%2520Math.random%28%29%2520*%252010000%252C%2520date%252C%2520%28Math.random%28%29%2520%253E%25200.5%29%2520%255D%29%253B%250A%2520%2520%257D%250A%2520%2520return%2520rowData%253B%250A%257D%2850%29%253B%250A%2520%2520%2520%2520%2520%2520%250Avar%2520tableModel%2520%2520%253D%2520new%2520qx.ui.table.model.Simple%28%29%253B%250AtableModel.setColumns%28%255B%2520%2522ID%2522%252C%2520%2522A%2520number%2522%252C%2520%2522A%2520date%2522%252C%2520%2522Boolean%2522%2520%255D%29%253B%250AtableModel.setData%28rowData%29%253B%250A%250Avar%2520table%2520%253D%2520new%2520qx.ui.table.Table%28tableModel%29%253B%250Awin.add%28table%252C%2520%257Bflex%253A%25201%257D%29%253B%250A%2520%2520%2520%2520%2520%2520%250Avar%2520doc%2520%253D%2520this.getRoot%28%29%253B%250Adoc.add%28win%252C%2520%257Bleft%253A%2520100%252C%2520top%253A%252050%257D%29%253B%250A%22%7D > > Cheers, > Chris > > Shankar_java schrieb: >> var windowLayout = new qx.ui.layout.VBox(); >> var win = new qx.ui.window.Window("Main Window"); >> win.setLayout(windowLayout); >> win.add(bar); >> win.add(table, {flex : 1}); >> >> I dont see the status bar of the table and it scrolls beyond the window. >> >> -Shankar >> >> >> Matthew Gregory wrote: >> >>> Can you provide a code snippet? >>> >>> Shankar_java wrote: >>> >>>> I tried using VBox with flex for table, and without flex for toolbar, >>>> still >>>> the table scrolls beyond the window. >>>> >>>> -Shankar >>>> >>>> >>>> Matthew Gregory wrote: >>>> >>>>> With the vbox layout use the layout property flex, just set it to 1 in >>>>> this case and it should work. >>>>> >>>>> window.add(table, {flex : 1}); >>>>> >>>>> HTH, >>>>> Matt >>>>> >>>>> Shankar_java wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I have a toolbar and a table inside a window. >>>>>> When window is maximized, the table height does not change? >>>>>> I tried VBox and Canvas layout with height as percent, but the >>>>>> table does not fit within the window (table scroll bar extends all >>>>>> the >>>>>> way >>>>>> down in the window). >>>>>> Any work around this? >>>>>> >>>>>> Shankar >>>>>> >>>>>> >>>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>>>> is the only developer event you need to attend this year. Jumpstart >>>>> your >>>>> developing skills, take BlackBerry mobile applications to market and >>>>> stay >>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>>>> http://p.sf.net/sfu/devconference >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >>> >> >> > > > -- > Christian Schmidt > Software Entwickler > > 1&1 Internet AG - Web Technologies > Ernst-Frey-Straße 9 · DE-76135 Karlsruhe > [email protected] > > Amtsgericht Montabaur / HRB 6484 > Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas > Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. > Oliver Mauss, Jan Oetjen > Aufsichtsratsvorsitzender: Michael Scheeren > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://old.nabble.com/Table-Height-does-not-adjust-inside-Window-tp25989511p26140036.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
