Sencha touch sencha触摸卡布局工作不正常
我使用sencha touch构建移动应用程序,我使用我的选项卡面板中的卡布局开关。有时卡布局不正常。请帮我解决这个问题Sencha touch sencha触摸卡布局工作不正常,sencha-touch,Sencha Touch,我使用sencha touch构建移动应用程序,我使用我的选项卡面板中的卡布局开关。有时卡布局不正常。请帮我解决这个问题 App.views.TabPanelView = Ext.extend(Ext.TabPanel, { cardSwitchAnimation: { type: 'slide', cover: true }, defaults: { scroll: 'horizontal
App.views.TabPanelView = Ext.extend(Ext.TabPanel, {
cardSwitchAnimation: {
type: 'slide',
cover: true
},
defaults: {
scroll: 'horizontal'
},
items: [item1, item2,item3,item4,item5]
}
}
首先,您应该将水平方向更改为水平方向,只需在CardSwitch动画中放置cover:false。希望当我从item5切换到item1时它能工作有时它不会显示item1选项卡。有时它的效果很好,就像一个符咒。你能给出项目的声明,或者至少是它们的类型面板、列表、嵌套列表。。。