PDA

View Full Version : Radio group backgroud color



jharkar
24 Aug 2009, 4:21 PM
Hello everyone,

Currently I have a radio group with 5 radio buttons in it. Every thing works fine except the look and feel is a lil inconvenient as its background is white. Is there any way can I customize this color. if any one has a clue could you please guide me.

Thanks,
Jay

Arcadius
10 Nov 2009, 7:26 AM
Hey, I was wondering if you were able to fix your problem?

Condor
10 Nov 2009, 7:51 AM
This is the Ext 1.x forum and Ext 1.x doesn't have a RadioGroup component (only Ext 2.2+ does).

The white background color was a bug, so you should upgrade to Ext 2.3 or 3.0.

Arcadius
10 Nov 2009, 8:01 AM
I'm using Ext3.0 and actually had the same problem. My radiogroups were being formed with a white background. Luckily, it's not a very hard problem to fix. I believe Condor actually provided the solution.

Add a paremeter to your radiogroup, cls: 'SomeNameHere' and within your CSS file, simply put something like this,

.SomeNameHere.x-panel-body {
background-color: #D2DCF9;
}

where you can modify the color to whatever your needs are. Obviously change SomeNameHere to something pertinent.

And thank you Condor for your great support! :)

JulieC
15 Nov 2009, 7:26 PM
be careful what color you do choose.

Arcadius
17 Nov 2009, 1:10 PM
Why would we have to be careful about selecting a color? I just chose one that matched the background of the spot it was in (It was in a tbar of an ExtJS Grid).