Hi,
I have problem with flex size in listview.
We have window with several tabs in it, and there is some content including
listview in two tabs.
When I check one of that tabs, the window resizes itself little bit - it's
ok. But when I check another tab, it resizes the window a bit again and it
makes cycle - one tab compute height, then second tab compute height, then
first tab compute height again etc. Is there possible way to hack this?
I suppose that its related to this bug.
http://bugzilla.qooxdoo.org/show_bug.cgi?id=20
But I have to fix it.
Simple code, where you can test it(with one tab) is:
var win = new qx.ui.window.Window('Test');
win.set({
height : '50%',
width : '50%'
});
var tabview = new qx.ui.pageview.tabview.TabView();
tabview.set({
width : '100%',
height : '100%'
});
var butt1 = new qx.ui.pageview.tabview.Button('List1');
var tabviewPage1 = new qx.ui.pageview.tabview.Page(butt1);
tabview.getBar().add(butt1);
tabview.getPane().add(tabviewPage1);
var header = {
Name : { label : 'Name', type : 'text', width : 200 }
};
var box1 = new qx.ui.layout.VerticalBoxLayout();
box1.set({
width : '100%',
height : '100%'
});
var list1 = new qx.ui.listview.ListView([], header);
list1.set({
width : '100%',
height : '1*'
});
box1.add(list1);
tabviewPage1.add(box1);
win.add(tabview);
win.addToDocument();
win.open();
--
View this message in context:
http://www.nabble.com/ListView-size-problem-tp16808244p16808244.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel