PDA

View Full Version : Panel collapse icon not showing up



gtsafas
17 Oct 2012, 9:00 AM
I have set collapsible:True on an Ext.panel.Panel but the icon isnt showing up. What am I missing?




Ext.onReady(function() {
Ext.require(['Ext.container.Viewport', 'Ext.ux.grid.FiltersFeature']);
Ext.application({
name: 'ExtApplication',
launch: function() {
Ext.create('Ext.container.Viewport', {
layout: 'fit',
items: [{
region: 'center',
xtype: Ext.create("Ext.panel.Panel", {
'flex': 1,
'collapsible': true,
'layout': {
'padding': 0,
'align': 'stretch',
'type': 'vbox'
},
'items': [{
'xtype': Ext.create("Ext.form.field.Date", {
'border': 1,
'value': '10/17/2012',
'format': 'm/d/Y'
})
}],
})
}]
});
}
});
});

gtsafas
17 Oct 2012, 10:49 AM
so apprently it was caused by including that neptune js fix. all good now