java - 主题海王星不适用

标签 java maven gwt gxt uibinder

我想在我的应用程序 GWT 上应用海王星主题,但它不起作用。

我已经将主题 neptune.jar 和主题生成器添加到依赖项中: 我的app.gwt.xml:

<inherits name='com.sencha.gxt.theme.neptune.Theme' />
  <inherits name="com.google.gwt.http.HTTP" />
<inherits name='com.google.gwt.user.User'/>
<inherits name="com.google.gwt.logging.Logging"/>
<inherits name="com.google.gwt.xml.XML"/>
<inherits name='com.sencha.gxt.ui.GXT'/>
<inherits name='org.gwtopenmaps.openlayers.OpenLayers' />
<set-property name="gwt.logging.enabled" value="FALSE"/>
<set-property name="gwt.logging.consoleHandler" value="DISABLED"/>
<set-configuration-property name="locale.cookie" value="GWT_LOCALE" />

<entry-point class='org.traccar.web.client.Traccar'/>

<source path='client'/>
<source path='shared'/>

还有我的 pom:

<dependency>
  <groupId>com.sencha.gxt</groupId>
  <artifactId>gxt-themebuilder</artifactId>
  <version>3.1.1</version>
</dependency>
<dependency>
  <groupId>com.sencha.gxt</groupId>
  <artifactId>gxt-theme-neptune</artifactId>
  <version>3.1.1</version>
</dependency>

我做错了什么?

最佳答案

移动<inherits name='com.sencha.gxt.theme.neptune.Theme' />inherits之后对于 GXT - 如果你把它放在前面,它会被默认覆盖。

关于java - 主题海王星不适用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32143443/

相关文章:

java - 如果您严格在构建目标中需要它们,那么用于输出资源的最常规文件夹是什么?

java - 为什么让 `This page isn' t 工作... ERR_TOO_MANY_REDIRECTS`?

gwt - 将用户类添加到所有演示者

javascript - setProperty 不是函数(...)

java - 如果用户不滚动则滚动到最后位置(RecyclerView)Android Studio

Java:从字符串中删除注释

eclipse - 通过 Eclipse 运行 JUnit 测试时的 Maven surefire 参数

GWT maven 编译器输出目录

java - 如何使用 Scala 的 GraphStream 库

java - 包含在 Android : findViewById returns null