jhonny thio schrieb:
> Hi, I have an application that contain tabview, table, and toolbar.
>
> Here some of my code :
>
> // table setup
> MyTable = new view.Table(this);
> MyTable.setDimension("1000", "100%");
>
>
> var dockLayout2 = new qx.ui.layout.VerticalBoxLayout;
> dockLayout2.setEdge(0);
> myTabView.add(dockLayout2);
>
> this._Toolbar = new view.ToolBar(this);
> dockLayout2.add(this._Toolbar);
> dockLayout2.add(this._tableView);
>
> Because I set the height of table is "100%", the height size goes out
> from tabview.
> How to make it keep sized in tabview?
Try to use "1*" instead of "100%". The 0.7 layout engine interprets
"100%" as "the same size as the parent". If the parent has other
children the sum of all sizes exceed the parent size. "1*" means "take
the remaining free space". This is what you need here.
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, Thomas
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel