假设我有3个不同的面板[bottomCar0,bottomCar1,bottomCar2],并希望根据我的要求调整它们的高度和宽度,我该怎么做?如何在Sencha touch中调整面板的高度和宽度?
我的代码:
var bottomCar=new Ext.Panel({
layout:{
type:'hbox',
align:'stretch'
},
defaults:{
flex:1
},
items: [bottomCar0,bottomCar1,bottomCar2]
});
如何更改默认设置?
Thnaks
斯纳
谢谢你..甚至这个帮助:) – Smitha