1. #1
    Sencha Premium Member
    Join Date
    Aug 2011
    Posts
    23
    Vote Rating
    0
    reweiner is on a distinguished road

      0  

    Default Which control should I use in this scenario (tabs + option menu)

    Which control should I use in this scenario (tabs + option menu)


    Hi,

    I'd like to create a panel with horizontal tabs.

    On the tab, there will be a "down arrow" that will have options like "Edit, Delete tab, etc".

    | Tab 1 (v) | Tab 2 (v) | (+)
    ________________________

    Content of each tab
    ________________________

    OBS: (v) -> "Edit | Delete | etc"

    I haven't seen a functionality like this on the tab control. What should I use instead ? Toolbars ?

    Thanks

  2. #2
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    157
    Vote Rating
    9
    ZachG will become famous soon enough

      0  

    Default


    If I remember right, you can supply HTML for the title of a tab. That could include the down button that when clicked shows your menu. The easier solution would be to have a toolbar on the tabs.

    Code:
    {
    	xtype:"tabpanel",
    	defaults:{
    		dockedItems:[
    			{
    				xtype:"toolbar",
    				dock:"top",
    				items:[
    					{
    						text:"Edit"
    					},
    					{
    						text:"Delete"
    					},
    					{
    						text:"etc"
    					}
    				]
    			}
    		]
    	},
    	items:[
    		{
    			html:"First Tab"
    		},
    		{
    			html:"Second Tab"
    		},
    		{
    			html:"etc Tab"
    		}
    	]
    }

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2011
    Posts
    23
    Vote Rating
    0
    reweiner is on a distinguished road

      0  

    Default


    Thanks!

    I'll give it a try!!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi