Iam使用sencha touch来构建移动应用程序,在我的选项卡面板中使用卡布局开关。有时卡的布局不正常。请帮助我解决这个问题。sencha触摸卡布局无法正常工作
App.views.TabPanelView = Ext.extend(Ext.TabPanel, {
cardSwitchAnimation: {
type: 'slide',
cover: true
},
defaults: {
scroll: 'horizontal'
},
items: [item1, item2,item3,item4,item5]
}
}
请将代码发送到 – 2012-02-23 09:21:50
当我从item5切换到item1时,有时它不会显示item1选项卡。有时它像魅力一样运作良好。 – Nag 2012-02-23 09:37:44
你可以给项目的声明或者至少是他们的类型(面板,列表,嵌套列表...) – 2012-02-23 09:40:53