ラジオグループの各ラジオボタンの幅を設定する際に問題があります。ExtJS 3.4ラジオグループストレッチオフ
xtype: 'container',
id: 'cntCompany',
layout: 'hbox',
fieldLabel: 'Company',
items: [
{
xtype: 'radiogroup',
id: 'rdogrpCompany',
items: [
{ id: 'rdoIT', boxLabel: 'IT', name: 'rdoCompany', inputValue: 'IT', width: 40, checked: true },
{ id: 'rdoCOMMS', boxLabel: 'COMMS', name: 'rdoCompany', width: 40, inputValue: 'Comms' },
{ id: 'rdoGROUP', boxLabel: 'GROUP', name: 'rdoCompany', width: 40, inputValue: 'Group' },
{ id: 'rdoALL', boxLabel: 'ALL', name: 'rdoCompany', width: 40, inputValue: 'All', margins: '0 0 0 30' }
]
}
]
各ラジオボタンの幅を設定しましたが、正しく動作しません。 なぜこのradiogroup strech同じ幅の列と無視幅:40? 各ラジオボタンの幅はどのように設定しますか?
です。子アイテムの幅をオーバーライドするようです。しかし、これは単なる推測です... – sra
@sraラジオボタンなしでラジオボタンの幅がうまく動作するので、レイアウト上の問題ではないと思います。 – ShootingStar