PDA

View Full Version : Need to have a "back side" to a panel



imsCol
27 May 2011, 8:36 AM
I am constructing an application using a TabPanel with 5 cards. From each card, the user should be able to flip the card and see the ``back'' of the card (which is common to all cards).

I have used Ext.reg to register my other cards, and added the cards to the TabPanel by xtype.

The ``backside'' card has been created as a panel, and when it is active, the TabPanel used to navigate the other cards should not be present.

What sort of structure should I be using if I want to be able to navigate to the ``backside'' of one of the cards?

imsCol
27 May 2011, 9:03 AM
After a little bit of thinking and talking over with some co-workers at lunch, I am going to try to nest the tabPanel in a card layout, also containing the ``backside'' card.

And feedback on this approach would be appreciated.