ok. so what's wrong with this picture... I cannot make the close tool appear on a tabpanel no matter what I try.
why are the easiest things always the most complicated.. ugh...
viewport.js snippet..
why are the easiest things always the most complicated.. ugh...
viewport.js snippet..
Code:
region: 'center', itemId: 'center-region', xtype: 'tabpanel', activeTab: 0, items: [{ title: 'Welcome', itemId: 'vp-welcome', xtype: 'welcome', closeAction: 'destroy', closeable: true }, { title: 'Tab2', itemId: 'vp-tab2', closeable: true, closeAction: 'destroy' }, { title: 'Tab3', itemId: 'vp-tab3', closeable: true, closeAction: 'destroy' }]
Comment