PDA

View Full Version : Leaving space between panels



mangrar
25 Nov 2007, 11:03 AM
Hi all,

I have setup an Anchor layout. I'm trying to add panels to this layour but leaving some space between them. How can I do that?

Thanks.

efege
25 Nov 2007, 11:47 AM
You can specify the CSS margins for each panel element, either using the cls or the style config options. Example:



items: [{
style: 'margin: 1em',
// other config options
}, {
style: 'margin: 0.5em',
// other config options
}]

mangrar
25 Nov 2007, 12:01 PM
Thanks a lot.