我有一個TabPanel停靠在應用程序的底部。它有幾個選項卡。我沒有打開設置選項卡的新面板,而是想添加彈出列表。點擊列表中的任何項目,新面板可能會/可能無法打開。如何在Sencha中添加Popover UI元素
我不知道如何在Sencha中添加Popovers。誰能幫忙?
這是目前我的代碼:
設置選項卡(其需要是酥料餅代替面板,這是目前) - >
App.views.Settings = Ext.extend(Ext.Panel, {
title : 'Settings',
id : 'Settings',
iconCls : 'settings',
floating : true,
modal : true,
hideOnMaskTap : true,
width : '20',
height : '20'
});
主要的TabPanel(其內部上面設置面板是)
App.views.RootTab = Ext.extend (Ext.TabPanel, {
fullscreen : true,
tabBar : {
dock : 'bottom',
layout : {pack: 'center'}
},
cardSwitchAnimation : {
type : 'slide',
cover : true
},
defaults : {
scroll : 'vertical'
},
items : [
{xtype : 'MainView'},
{xtype : 'Settings'}
]
})