iplanit
24 Sep 2012, 1:31 AM
Hi,
I have a container with two panels inside, regions west and south. Rest of the settings as default.
I have two issues:
When collapsing, if I expand the panels those are hidden because the container is not resizing (it is resizable).
The direction is set to "left" but appears as up.
{
xtype: 'container',
margins: '2 0 0 5',
region: 'west',
split: true,
hidden: false,
width: 275,
layout: {
type: 'border'
},
items: [
{
xtype: 'treepanel',
flex: 1,
margins: '2 5 5 0',
region: 'north',
minHeight: 400,
collapseDirection: 'left',
collapsible: true,
title: 'Menu',
store: 'MyJsonTreeStore',
viewConfig: {
itemSelector: 'div'
}
},
{
xtype: 'panel',
flex: 1,
margins: '2 5 5 0',
region: 'south',
height: 150,
html: 'test',
minHeight: 325,
styleHtmlContent: false,
bodyStyle: 'padding-bottom:15px;background:white;',
collapseDirection: 'left',
collapsible: true,
title: 'Information'
}
]
See screenshot.
38883
Any advice ?
Thanks.
I have a container with two panels inside, regions west and south. Rest of the settings as default.
I have two issues:
When collapsing, if I expand the panels those are hidden because the container is not resizing (it is resizable).
The direction is set to "left" but appears as up.
{
xtype: 'container',
margins: '2 0 0 5',
region: 'west',
split: true,
hidden: false,
width: 275,
layout: {
type: 'border'
},
items: [
{
xtype: 'treepanel',
flex: 1,
margins: '2 5 5 0',
region: 'north',
minHeight: 400,
collapseDirection: 'left',
collapsible: true,
title: 'Menu',
store: 'MyJsonTreeStore',
viewConfig: {
itemSelector: 'div'
}
},
{
xtype: 'panel',
flex: 1,
margins: '2 5 5 0',
region: 'south',
height: 150,
html: 'test',
minHeight: 325,
styleHtmlContent: false,
bodyStyle: 'padding-bottom:15px;background:white;',
collapseDirection: 'left',
collapsible: true,
title: 'Information'
}
]
See screenshot.
38883
Any advice ?
Thanks.