PDA

View Full Version : Selected TabItem rendering



ddanny
1 Feb 2010, 12:17 PM
Hi,

Is it possible to render the label of the selected TabItem of a TabPanel with a different color?

Thanks,

Dan

Arno.Nyhm
3 Feb 2010, 9:52 AM
add something like this to your custom.css (load it after the gxt css):



.my-color-panel .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
color:red;
}
then use a addStyleName("my-color-panel") to apply this style to your tabpanel