Views in a panel with card layout, stacking.
I have a carousel that is dynamically being fed views for cards. Which works fine. I want to remove the swiping functionality but still have indexing to move between the different cards.
If I take the current view configered as a carousel and change the extend from Ext.Carousel to Ext.Panel with layout defined as 'card', all the views in the former carousel are stacked on top of each other.
I have tried defining the items before hand, thinking that the dynamically added views were simply added to the panel instead of being added as a card. What causes this, and how can I achieve the card layout with the possibility of setting the activeitem (possibly with support of the activeitemchange event), without the swiping functionality?