假設我有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