|
Hi, I am trying to display a table with some controls inside a qx.ui.tabview.Page. To do this, I have written a class which basically extends a qx.ui.container.Composite, which then is added to the tabview page. My problem is that I found up to now no option to make the table (or: the composite) fill the entire space on the page, as other elements do. The constructor of my composite object looks basically like this: qx.Class.define("myclasses.TableOnPage", { extend : qx.ui.container.Composite, construct : function(){ this.base(arguments); // basic container which should have 3 zones: this.setLayout(new qx.ui.layout.VBox(0)); // zone 1 for title this._titletext = new qx.ui.basic.Label("Searchable List").set({ paddingBottom : 10, font : new qx.bom.Font(16, ["Verdana", "sans-serif"]) }); this.add(this._titletext); //zone 2 of controls this._formelement = new qx.ui.container.Composite(); ... // zone 3 for the table (which should all the feft space) this._table = this.__createTable(); this.add(this._table); ... }, At present, the table seems to fill the optimum space horizonally, but I need to set the hight in pixels otherwise it would display 3 rows only. Thank you very much for your help Klaus --
Klaus-F. Kaal
Geschäftsführer
TIMOlogic
GmbH
Singener
Str. 42d
D-78256
Steisslingen
phone
+49 7738 97096
fax
+49 7738 97094
mail
[EMAIL PROTECTED]
Handelsregister: Singen HRB 1795 |
------------------------------------------------------------------------- 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
