Problems with theming

16 views
Skip to first unread message

eSVau

unread,
Jul 20, 2011, 11:00:57 AM7/20/11
to google-we...@googlegroups.com
I have some problems loading a theme. To remove any style i commented all <inherits name='com.google.gwt.user.theme. * ' /> out which and included some custom CssResources via ClientBundle everything worked fine.
Since all styling will be handled vie ClientBundle i no longer required MyApp.css and removed it reference at MyApp.html (entry point) 

Now i wanted to to reapply a theme (like it was before), because that way it is easier to develop and styling will concurrently be developed, therefore i put <inherits name='com.google.gwt.user.theme.standard.Standard' /> back into gwt.xml but nothing happens when i run my gwt app in dev. mode.
There is no style applied only ClientBundle injected css will be shown but all other elements are "blank".

If i inspect the code with firebug cass classes are there, for example the header of a StackLayoutPanel are labeled
<div class="gwt-HTML gwt-StackLayoutPanelHeader" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;">
but no style applied. A "/gwt/standard/" is created with contains css and images


So, i'm kinda puzzle what's missing or why standard theme won't be reapplied

eSVau

unread,
Jul 20, 2011, 3:14:51 PM7/20/11
to google-we...@googlegroups.com
Ok, it seems it was an strange eclipse error.

Using "mvn gwt:run" instead via eclipse and everything was fine. And to puzzle me even more it worked afterwards with changing theme, removing, reapplying theme, etc.
Reply all
Reply to author
Forward
0 new messages