> there is also magic @external. > Using that you can style eg. gwt-* classes without any problems in > your own ui binder / cssResources.
Yeah. I did that with the SplitLayoutPanel like you said. I couldn't figure out how to get it into a resource bundle, which is what I wanted. I just tried this on my CellTree problem: public interface TreeResources extends CellTree.Resources { @Source("../CellTree.css") public CellTree.Style cellTreeStyle(); @Source("../myCellTreeSelectedBackground.png") @ImageOptions(repeatStyle = RepeatStyle.Horizontal, flipRtl = true) @Override public ImageResource cellTreeSelectedBackground(); } then in the css file: @sprite .cellTreeSelectedItem { gwt-image: 'myCellTreeSelectedBackground'; background-color: #628cd5; color: white; height: auto; overflow: auto; } I *think* that's all correct, but I get: Creating assignment for cellTreeStyle() Replacing CSS class names The following obfuscated style classes were missing from the source CSS file: [ERROR] cellTreeSelectedItem: Fix by adding .cellTreeSelectedItem{} [ERROR] Generator 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw an exception while rebinding 'com.autofrog.app.client.TreeResources' com.google.gwt.resources.css.ast.CssCompilerException: Missing a CSS replacement it does this whether it's marked @external or not. What's werid is that I do indeed have a .cellTreeSelectedItem in there, it's just that it's after a @sprite. Do I have the pattern wrong? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.