2 Aug 2011 1:01 AM #1
GXT3 new style(s) ?
GXT3 new style(s) ?
I have a quick question and after a quick search, don't see anything about it.
Is there going to be new styles in gxt 3.0 ?.
I know anyone can create his own style, but I think a new style (maybe based on the one used for the sencha forum) would be a great add for GXT 3.0.
The existing blue, gray and slate make current RIA build with GXT look like old Windows (XP) applications.
Thanks for your response.
2 Aug 2011 1:08 AM #2
We will first focus on porting the old theme to the new widgets and new engine, but also plan to offer additional themes. Also it will be a lot easier to change the theme to your own needs.
3 Aug 2011 12:14 AM #3
3 Apr 2012 5:20 AM #4
As GXT3 is in Release Candidate, is there any plan for a better 2.0 (or 3.0) web like theme in next RC?
9 Apr 2012 5:45 AM #5
I am very interested in Sven's comment 'Also it will be a lot easier to change the theme to your own needs.' Can you provide any pointers/info on how this can/should be done? I too need to modify the GXT 3.0 theme, I haven't looked at that yet in detail but it seems it would be hard because each CSS appearance is spread out over each widget's, panel's, etc source code...just finding them all seems like a large task. I would love to hear about how themes can be created in an easy way. Any pointers regarding custom themes would be greatly appreciated.
9 Apr 2012 6:08 AM #6
it would be hard because each CSS appearance is spread out over each widget's, panel's, etc source code...just finding them all seems like a large task.
9 Apr 2012 6:16 AM #7
Well everything for the blue theme is in com.sencha.gxt.theme.blue but that package has tons of sub-packages if I'm not mistaken. So if my goal was to make a custom theme would I start my copying the entire com.sencha.gxt.theme.blue folder into my custom package name, then modify each CSS & Class and then create my own theme GWT module? Then since GXT themes make references to the base code/theme I wasn't sure if my custom theme can reference that? Mine would be in my jar...can mine reference the base CSS in the GXT jar? E.g. the @Source directives.
9 Apr 2012 6:44 AM #8
If you only want to change the colors, than you should extend base. If you want like to create something completely knew, i would start from scratch using only the interfaces.
Well everything for the blue theme is in com.sencha.gxt.theme.blue but that package has tons of sub-packages if I'm not mistaken
9 Apr 2012 6:55 AM #9
I'm confused. Are you saying my approach is right if I just want to change colors?
However if I also need to customize what's in base I should just start from scratch?
IMHO, your probably right the 'appearance' pattern is easier to customize but it also seems more complex...hard to know how to get started. I'd sure like to see a whitepaper or something on the recommended approach for customizing GXT themes...both just changing colors and creating something new.
9 Apr 2012 7:07 AM #10