在sencha2.0的tabpanel裏面,
要在某一個tab裏面使用carousel 或者formpanel等,如果直接使用,這個tab可能什麼也不現實;
出現這個的原因是,在tab裏面使用某些container,其大小默認是爲0的,當然也無法顯示了,所以要在這些container裏面加入height和width,但是這樣,又有一些不能自動適應大小了,所以最好是用minHeight和minWidth來設置,這樣可以隨大小而自動適應了!
在sencha2.0的tabpanel裏面,
要在某一個tab裏面使用carousel 或者formpanel等,如果直接使用,這個tab可能什麼也不現實;
出現這個的原因是,在tab裏面使用某些container,其大小默認是爲0的,當然也無法顯示了,所以要在這些container裏面加入height和width,但是這樣,又有一些不能自動適應大小了,所以最好是用minHeight和minWidth來設置,這樣可以隨大小而自動適應了!
(function(d, s, id) { let js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) retur
https://view.officeapps.live.com/op/view.aspx?src=你地址