I have this style in my uibinder:
<ui:style type="com.mycompany.MyApp.MyStyle">
.something {
width: 50em;
}
div.dm {
float: left;
display: inline-block;
width: 50em;
}
.test-name {
margin: 10px 10px;
}
</ui:style>
This is the interface for the resource:
interface MyStyle extends CssResource {
@ClassName("something ") //This doesn't work either
String somethingClass();
// String something(); //This works!
@ClassName("div.dm")
String divClass();
@ClassName("test-name")
String testNameClass();
}
But then i get this error:
[ERROR] div.dm: Fix by adding .something{}
[ERROR] div.dm: Fix by adding .div.dm{}
[ERROR] test-name: Fix by adding .test-name{}
[ERROR] Generator 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw an exception while rebinding
Anybody have any idea? I am using GWT 2.4.