I've got an interesting problem here - I've created a column in a Composite
container, and I'm populating it with some things. There's a header and
footer for the column that are fixed size and they seem to be working fine;
but I'm trying to get the table.Table and form.List in the middle to be the
same size and remain the same size (but taller or shorter) as the window
shrinks or expands. I've assigned them minimum heights of 120. When the app
starts, the Table is larger than the List by about 30%, and when I stretch
the window, only the Table grows.... what's the proper means of doing this?
Should I assign them each an outrageous 'suggested' height (say 1000) and
let the layout manager shrink them?
I'm trying to also have a second column with a pair of buttons that shrink &
grow in tandem with the List and Table, so I need to be able to predict
reliably what the behavior will be.
Thanks,
Ken
*code (only hopefully relevant parts) below:*
var body = new qx.ui.container.Composite(layout);
.....
// firstCol is a column in the Composite container....
var dm = new qx.ui.table.model.Simple();
this.menuItemTable = new qx.ui.table.Table(dm);
this.menuItemTable.set({
minHeight: 120,
});
firstCol.add(this.menuItemTable, {flex: 1});
// selected menu list
this.selectionTable = new qx.ui.form.List;
this.selectionTable.setMinHeight(120);
firstCol.add(this.selectionTable, {flex: 1});
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel