Unfortunately it is doing what I'm saying.
Code:
afterLayoutHandler = function() {
var nMainHeight = Ext.getCmp( 'extPnlCenter' ).getEl().getHeight();
var oCenter = Ext.getCmp( 'extPnlMidCenter' ).getEl();
var oSouth = Ext.getCmp( 'extPnlMidSouth' ).getEl();
oSouth.setHeight( nMainHeight / 2 );
}
This method is defiantely only called when I resize any of the viewport (whichI understand will always reset my heights). However when I ensure this is only called once at the start, then after this point I cannot resize the splitter between extPnlMidCenter and extPnlMidSouth. The layer showing the drag is visible and then the splitter doesn't move.
It is created as so:
Code:
{
xtype: 'panel',
title: false,
height: 200,
id: 'extPnlCenter',
region: 'center',
layout: 'border',
border: false,
items: [{
xtype: 'panel',
title: false,
height: 200,
id: 'extPnlMidSouth',
region: 'south',
split: true
},{
xtype: 'panel',
title: false,
id: 'extPnlMidCenter',
region: 'center'
}
}
The moment the setHeight it called the splitter associated with the panel that 'is a' region does not work.
D.