PDA

View Full Version : Checkbox Label in Bottom of Checkbox?



parsbin
5 Mar 2012, 11:35 PM
Hi
How can i set label of checkboxes in bottom of thats, like to image?

32403

mitchellsimoens
6 Mar 2012, 9:11 AM
You probably would need to do some fine tuning but here is some CSS that would do it:


.x-form-cb-label {
top : 14px;
margin-left : -10px;
}

parsbin
7 Mar 2012, 1:49 AM
You probably would need to do some fine tuning but here is some CSS that would do it:


.x-form-cb-label {
top : 14px;
margin-left : -10px;
}




{
xtype: 'compositefield',
items: [
{xtype: 'checkbox',boxLabel: '16',name: 'alarm_val[16]'},
{xtype: 'checkbox',boxLabel: '15',name: 'alarm_val[15]'},
{xtype: 'checkbox',boxLabel: '14',name: 'alarm_val[14]'},


32449