PDA

View Full Version : FormPanel frame false background color



woozy
28 Dec 2009, 9:31 AM
Hi!

I have a FormPanel that I want to define frame as false. ut I want to keep the background color equal to frame true. I didn't find out how to achieve this. Can someone help me please.

Thank you

fabio.parra
28 Dec 2009, 10:23 AM
You can use :


bodyStyle : {
backgroundColor : '#dfe8f6'
}

woozy
28 Dec 2009, 11:43 AM
Hi Fabio,

Thank you for replying.
But that solves part of the problem, because if I change the theme, the color of that formpanel will still be the default blue.
I need something more generic...

fabio.parra
28 Dec 2009, 12:10 PM
ok... you can add an aditional css, like:


bodyCssClass : 'x-panel-mc'

woozy
2 Jan 2010, 7:40 AM
Thank you fabio!
That's the kind of thing I was looking for, but it doesn't work. The form remains white.

woozy
2 Jan 2010, 7:52 AM
Hi!
I used baseCls : 'x-panel-mc' instead of bodyCssClass and it works.
Thank you.