rafaelrp
13 Jun 2012, 5:44 AM
Hello!
How can i make the checkboxes wrap the line?
Here's the code:
{
xtype : 'fieldcontainer',
combineErrors : true,
msgTarget : 'side',
layout : 'hbox',
defaults : {
margin : '0 10 0 0'
},
items : [
{
xtype : 'checkboxfield',
name : 'cbxMostraAlerta',
id : 'cbxMostraAlerta',
fieldLabel : 'Mostrar Alertas'
},
{
xtype : 'checkboxfield',
name : 'cbxSitDiaria',
id : 'cbxSitDiaria',
fieldLabel : 'Situação Diária'
},
{
xtype : 'checkboxfield',
name : 'cbxSitSemanal',
id : 'cbxSitSemanal',
fieldLabel : 'Situação Semanal'
},
{
xtype : 'checkboxfield',
name : 'cbxDetalhado',
id : 'cbxDetalhado',
fieldLabel : 'Relatório Detalhado'
}
]
}
Thanks ! ~o)
How can i make the checkboxes wrap the line?
Here's the code:
{
xtype : 'fieldcontainer',
combineErrors : true,
msgTarget : 'side',
layout : 'hbox',
defaults : {
margin : '0 10 0 0'
},
items : [
{
xtype : 'checkboxfield',
name : 'cbxMostraAlerta',
id : 'cbxMostraAlerta',
fieldLabel : 'Mostrar Alertas'
},
{
xtype : 'checkboxfield',
name : 'cbxSitDiaria',
id : 'cbxSitDiaria',
fieldLabel : 'Situação Diária'
},
{
xtype : 'checkboxfield',
name : 'cbxSitSemanal',
id : 'cbxSitSemanal',
fieldLabel : 'Situação Semanal'
},
{
xtype : 'checkboxfield',
name : 'cbxDetalhado',
id : 'cbxDetalhado',
fieldLabel : 'Relatório Detalhado'
}
]
}
Thanks ! ~o)