-
26 Mar 2012 12:58 AM #1
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', } ] } });
-
26 Mar 2012 5:40 AM #2Sencha - Training Team
- Join Date
- Sep 2008
- Location
- Germany - Darmstadt
- Posts
- 682
- Vote Rating
- 10
- Answers
- 21
your sketch link does not work, no access ;-)
trainings / workshops / consulting: Sencha Touch / Ext JS
Profile on SenchaDevs
www: http://www.nils-dehl.de
twitter: nilsdehl
meetup: Sencha Touch / Ext JS Meetup Frankfurt
videos: http://vimeo.com/album/1621422
conference photos: http://www.flickr.com/photos/nils-dehl/
-
26 Mar 2012 5:45 AM #3
Thanks man! Link is updated. Waiting for a hero to save me

-
26 Mar 2012 5:51 AM #4Sencha - Training Team
- Join Date
- Sep 2008
- Location
- Germany - Darmstadt
- Posts
- 682
- Vote Rating
- 10
- Answers
- 21
you could add event listener to the select boxes and on value change change the menus like you want them
trainings / workshops / consulting: Sencha Touch / Ext JS
Profile on SenchaDevs
www: http://www.nils-dehl.de
twitter: nilsdehl
meetup: Sencha Touch / Ext JS Meetup Frankfurt
videos: http://vimeo.com/album/1621422
conference photos: http://www.flickr.com/photos/nils-dehl/
-
26 Mar 2012 5:55 AM #5
Hmm.. I get your idea. Could you help me writing the code to that specific part? I'm stuck here for 2 days already



Reply With Quote