PDA

View Full Version : [CLOSED] List in a fieldset doesn't show in form.Panel view



tnedeles
17 Nov 2012, 8:07 PM
This problem occured today, after switching from Sencha Touch 2.0 to 2.1

Browser versions tested against:

Chrome version 23 (Mac OS X)
Safari (Mac OS X)
Description:

List placed within a fieldset does not show in Ext.form.Panel view
Steps to reproduce the problem:

Create an Ext.form.Panel, place a 'list' in a 'fieldset'
The result that was expected:

The list is seen in the view


layout: 'vbox',
items : [ {
xtype: 'fieldset',
items: [ {
xtype: 'list',
disclosure: true,
itemTpl: '{title}',
flex: 1,
data: [
{ title: 'Item 1' },
{ title: 'Item 2' },
{ title: 'Item 3' },
{ title: 'Item 4' }
]
} ]
} ]

mitchellsimoens
19 Nov 2012, 11:05 AM
Your fieldset isn't using a layout so the flex : 1 in the list isn't doing anything.