PDA

View Full Version : Is it possible to add row in column layout



Royan
28 Nov 2007, 4:04 AM
I know it's something weird, but I really need this. Assume I've got something like this:

{
layout: 'fit',
items: [{
layout:'column',
items:[{
columnWidth:.5,
layout:'form',
items: [{
// items
}]
}, {
columnWidth:.5,
layout:'form',
items: [{
// items
}]
}]
}
}
Notice I have column layout within fit layout. Also notice that I have just two columns. Now I want 3d component to make use of "Fit" layout as well. Please see attached picture, so that you had a better idea of what I'm asking about. I also attach the file with my test code, extract it into examples/window folder which is in the root of Ext lib distrib
This seems to be it, hope someone can help...

devnull
28 Nov 2007, 9:09 AM
I havent used it and so am not completely sure myself, but you might take a look at the 'table' layout.
otherwise you could always do a north/center border layout with a column layout in the north region.