I'm using 2.1.0 RC2.
I think there's a bug in this version, which makes it impossible to set scrollable: false on lists.
As a result, lists can't be nested in panels with vbox layout anymore, unless I specify a fixed height or set the flex property, which I don't want to do.
For an example, the following code worked for me in 2.0.1 (The list got the height it needed, and below it was the button) but doesn't work now.
Code:
Ext.define('TEST.view.test', {
extend: 'Ext.Panel',
config: {
layout : 'fit',
items: [
{
xtype: 'titlebar',
title: 'title',
docked: 'top'
},
{
xtype: 'panel',
layout: 'vbox',
scrollable: true,
items: [
{
xtype: 'list',
store: 'MyStore',
grouped: true,
itemTpl: Ext.create('Ext.XTemplate',
'<div>{name}</div>'
),
scrollable: false
},
{
xtype: 'button',
text: 'press me'
}
]
}
]
}
});
I'll be very happy to find a solution for this, even a temporary one.
Thanks