PDA

View Full Version : Different themes for different components?



Darklight
13 Sep 2007, 4:18 AM
couldn't find anything via search, but is there a way to, let's say, have a Grid use xtheme-aero.css while a Dialog on the same page uses xtheme-gray.css? meaning assign different themes to different components on the same page?

EDIT:
ok, just figured out that i could snip together the different parts of the css file and make my own theme, but if there's another way to assign a theme dynamically i'd like to know ;D

para
13 Sep 2007, 8:56 AM
There's not. It's standard CSS so it applies globally. Cutting sections is the only real way to do it. I'd be wary of doing it due to possible issues with upgrading your library.