I am using ExtJS 2.3.0
I have a panel and some items inside that
{
xtype: 'panel',
border: false,
margin: '10px;' // Not working for me
items: [
{ boxLabel: 'One', xtype: 'checkbox' },
{ boxLabel: 'Two', xtype: 'checkbox' }
]
}
I tried using margin, padding... none of them is working for me..
Any solutions.
You could use the bodyStyle configuration property:
{
xtype: 'panel',
border: false,
bodyStyle: 'margin: 10px;'
items: [
{ boxLabel: 'One', xtype: 'checkbox' },
{ boxLabel: 'Two', xtype: 'checkbox' }
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With