sencha Touch Card布局无法正常工作

时间:2012-02-23 08:45:55

标签: sencha-touch

我使用sencha touch来构建移动应用程序,我在我的选项卡面板中使用卡片布局切换。有时卡片布局不能正常工作。请帮我解决这个问题。

App.views.TabPanelView = Ext.extend(Ext.TabPanel, {
cardSwitchAnimation: {
            type: 'slide',
            cover: true
        },

        defaults: {
            scroll: 'horizontal'
        },
       items: [item1, item2,item3,item4,item5]
  }
  }

2 个答案:

答案 0 :(得分:0)

首先,您应该将horizantal更改为horizontal

答案 1 :(得分:0)

简单只需将cover: false放入cardSwitchAnimation即可。希望它有效

相关问题