formPanel平添container和radioGroup
formPanel添加container和radioGroup
{ xtype : 'container',// 试题container id : 'q_0_1_container', layout : 'fit', hideBorders : false, border : 1, // height: 'auto', autoHeight : true, // hidden : true, defaultType : 'textfield', style: { padding: '20px' }, items : [{ xtype : 'label', html : '<font color=blue>1)、你是同意呢,还是同意,还是同意呢?<br></font>', id : 'quesetion_0_1' },{ xtype: 'radiogroup', // height : 'auto', autoHeight : true, fieldLabel: '单选', allowBlank : false, // labelSeparator : '...', columns : 1, items: [ {boxLabel: 'A、太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了太2了...', name: 'rb-auto', inputValue: 'A'}, // {boxLabel: 'Item 2', name: 'rb-auto', // inputValue: '', checked: true}, {boxLabel: 'B、时间就是金钱时间就是金钱时间就是金钱时间就是金钱时间就是金钱时间就是金钱时间就是金钱', name: 'rb-auto', inputValue: 'B'}, {boxLabel: 'C、Item 3', name: 'rb-auto', inputValue: 'C'}, {boxLabel: 'D、Item 4', name: 'rb-auto', inputValue: 'D'} ] }] }