PDA

View Full Version : Border Layout East Region Over North



fily55
22 Jan 2013, 1:19 PM
Hey guys,

I have a border layout with center, north and east. I'm trying to have east the same height of north and center. Is this possible in any way?

fily55
22 Jan 2013, 1:36 PM
Never mind, I just wrapped it into another container with border layout. Regions center and east

skirtle
22 Jan 2013, 4:17 PM
Adding an extra level of nesting is to be avoided where possible.

Border layout supports weighting, much like a dock layout. I believe that's what you were looking for. See:

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.layout.container.Border-cfg-regionWeights