1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    18
    Answers
    2
    Vote Rating
    0
    devyn is on a distinguished road

      0  

    Post Unanswered: Need help with layout design.

    Unanswered: Need help with layout design.


    Hi,
    I would like to do the layout as this sketch.
    Following is my simplified layout and I'm wondering how can I modify to achieve "only the menu switch".
    Please do suggest me if you found out any improper usage since I'm noob here

    Thanks!
    Code:
    Ext.define("My.view.Main", {
        extend: 'Ext.tab.Panel',
        config: {        
            tabBar: {
                docked: 'bottom',
            },
            items: [
                {
                    xtype : 'toolbar',
                     docked: 'top',
                },
                {
                    iconCls: 'Tab1',
                    scrollable: false,
                    width: imgW,
                    items  : [
                         {
                            xtype: 'container',
                            layout: 'vbox',
                            items: [HeaderImage,Carousel,Menu]
                        }
                    ]
                },
                {
                    iconCls: 'Tab2',
    
    
                },
                {
                    iconCls: 'Tab3',
    
    
                    
                },
                {
                    iconCls: 'Tab4',    
    
    
                }
            ]
        }
    });

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    your sketch link does not work, no access ;-)

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    18
    Answers
    2
    Vote Rating
    0
    devyn is on a distinguished road

      0  

    Default


    Thanks man! Link is updated. Waiting for a hero to save me

  4. #4
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    you could add event listener to the select boxes and on value change change the menus like you want them

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    18
    Answers
    2
    Vote Rating
    0
    devyn is on a distinguished road

      0  

    Default


    Hmm.. I get your idea. Could you help me writing the code to that specific part? I'm stuck here for 2 days already

Thread Participants: 1