I am encountering an issue where the box labels of the checkboxes are wrapping under the checkbox:
{
xtype: 'checkboxgroup',
columns: 1,
vertical: true,
items: [{
boxLabel: 'Item 1',
name: 'rb',
inputValue: '1'
}, {
boxLabel: 'Item 2 with a long label that is not wrapping properly',
name: 'rb',
inputValue: '2',
checked: true
}]
}
To resolve this, I need the wrap to be inline-block so that both blocks are in the same line. However, I have had to manually set the width of the second block to achieve this:
The challenge lies in dynamically recalculating and updating the box label width as the west panel is resized, ensuring that it utilizes all available space while maintaining the proper alignment with the checkbox.
Any suggestions?