extjs4にhbox
レイアウト内の1つの要素だけを伸ばすように指示する方法は?
たとえば、次のレイアウトがあります。
{
flex: 1,
layout: {
type: 'vbox',
align: 'stretch'
},
items: [{
flex: 1,
// GRID, needs to be stretched
}, {
// button, don't stretch
}, {
// another button, don't stretch
}]
}
上記のコードでは、すべての要素 (ボタンを含む) が引き伸ばされています。ボックスレイアウトで可能ですか?
もちろん、ボタンを hbox コンテナーにラップすることもできますが、この解決策は好きではありません。