
Hello ~
I want to set the 100% remaining height to panel 2. but I don't know how to do this.
here is my test code,
{ title : 'EAST', region : 'east', layout : 'vbox', layoutConfig : { align : 'stretch' }, bodyStyle : 'border:1px solid blue', width: 300, items : [ new Ext.Panel({ title : 'Panel 1', border : true, layout : 'fit', height : 250, html : 'PANEL 1 AREA' }), new Ext.Panel({ title : 'Panel 2', border : true, bodyStyle : 'border:1px solid red', layout : 'fit', html : 'PANEL 2 AREA' }) ] }
I tried autoHeight: true and height: "100%" on panel 2, but it does not work.
anyone know please help me ~
thanks ~!
source share