Hey guys,
i want to add a list to a fieldset. I found this thread http://www.sencha.com/forum/showthre...st-in-fieldset but it was not working when i set the layout to fit. The problem is that the fieldset is not complete shown. There is just a line where the fieldset should be.
My code is:
Code:
{ xtype: 'fieldset', //fieldset for labels
layout : 'fit',
items: [
{
xtype: 'list',
itemTpl: '{title}',
data: [
{ title: 'Item 1' },
{ title: 'Item 2' },
{ title: 'Item 3' },
{ title: 'Item 4' }
],
listeners:{
painted:function(){
console.log('paint list');
}
}
},
{
xtype: 'selectfield',
id: 'addLabel',
label : 'Add Label',
name : 'addLabel'
}
]
},
Has somebody an idea what i'm doing wrong