parky128
30 Jan 2012, 4:37 AM
I have set some fixed widths on fields in a fieldset, but I am finding for labels with longer pieces of text, they get chopped off at the end and do not wrap onto a new line.
Code
{
xtype: 'fieldset',
title: 'Map Options',
defaults: {
labelWidth: '200px',
},
items: [
{
xtype: 'checkboxfield',
itemId : 'chkShowTraffic',
label: 'Show Traffic Layer'
},
{
xtype: 'checkboxfield',
itemId : 'chkShowUnitLabels',
label: 'Show Vehicle Labels'
},{
xtype: 'checkboxfield',
itemId : 'chkShowPlacemarkers',
label: 'Show Placemarkers'
}, {
xtype: 'checkboxfield',
itemId : 'chkAutoResetMap',
label: 'Reset the Map automatically when new positions are received'
}
]
}
I couldn't see any config options to enable field label text wrapping, is this possible?
Code
{
xtype: 'fieldset',
title: 'Map Options',
defaults: {
labelWidth: '200px',
},
items: [
{
xtype: 'checkboxfield',
itemId : 'chkShowTraffic',
label: 'Show Traffic Layer'
},
{
xtype: 'checkboxfield',
itemId : 'chkShowUnitLabels',
label: 'Show Vehicle Labels'
},{
xtype: 'checkboxfield',
itemId : 'chkShowPlacemarkers',
label: 'Show Placemarkers'
}, {
xtype: 'checkboxfield',
itemId : 'chkAutoResetMap',
label: 'Reset the Map automatically when new positions are received'
}
]
}
I couldn't see any config options to enable field label text wrapping, is this possible?