-
ThemeSelector : change theme without reload
ThemeSelector : change theme without reload
Hi ,
it's possible to change theme without reload , like as extjs ?
can use ext's theme with gxt ?
Best Regards,
Sebastien.
-
Hi, since this was not answered, I bring it back here:
Is it still not possible to change the theme without restarting the application, like we had in ext-js?
If not, is there any reason why?
Thanks,
Michel.
-
Sure you can just swap the css files and the look will change. If you want this without a reload you can easily implement it.
-
Hi Sven.
Could you please guide me on how to do it?
I guess I would need to use CSS class for this, right?
I would need to remove the old one (what is the id?)
and then I would need to add the new one...
Is this the way?
-
Anyone have implement the way how to swap the css files which look like switchTheme from BLUE to GRAY?
-
use:
Ext.util.CSS.swapStyleSheet(id, url);
and
Ext.util.CSS.removeStyleSheet(id)
swap appends to existing making it override them. old one should be removed so they do not interfere.
-
can you explain to me ??
pleaseeee.....
where the code write it ?
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us