0
我是Sencha Touch中的新手,我試圖創建一個帶有按鈕的TabPanel,該按鈕始終顯示在每個選項卡的一個角落中。TabPanel中的浮動按鈕
目前我正在試圖建立一個浮動按鈕
this.trashButton = new Ext.Button({
iconCls: 'trash',
iconMask: true,
x: 100,
y: 100,
ui: 'plain',
floating:true,
handler: this.trashButtonTap,
scope: this
});
然後顯示它
this.on('activate', function() {
this.trashButton.show();
});
按鈕顯示正確,但只要我點擊任何地方自敗。