从“本机 GWT”迁移至 GXT
我正在考虑将我的 GWT 应用程序从“本机 GWT”迁移到 GXT,但是我想知道 GXT 中是否有一个主题看起来像 GWT 的本机主题,com.google.gwt.user.theme .standard.Standard
另外,在我的“本机 GWT”应用程序中,我将自己的 CSS 应用于一些小部件。 GXT 小部件的 CSS 格式是否与本机 GWT 小部件相同?例如按钮、菜单栏、面板等。
I am thinking of migrating my GWT app from "native GWT" to GXT, however I want to know whether there is a theme in GXT that looks just like the native theme of GWT, com.google.gwt.user.theme.standard.Standard
Also in my "native GWT" application I apply my own css to some widgets. Does the CSS-format for widgets the same with GXT as it is with the native GWT widgets? Like for Button, MenuBar, Panels etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上 GXT 2 只有两个主题(蓝色和灰色)。没有这样一个看起来像原生 GWT 的主题,但这就是为什么你应该选择 GXT,因为它有丰富的组件,你不必关心你的 css 和其他东西。改变你的风格也不容易。
因为构建的方式确实很难改变组件的样式。但新版本 3.0 有一种新方法,可以更轻松地更改您的样式,您还可以与本机 gwt 小部件结合使用。
您可以查看网站
Basically GXT 2 has just two themes (blue and gray). There is no such a theme that looks like native GWT, but thats why you should choose GXT, becuose it has rich components and you don't have to take care of your css and other stuffs. Also is not easy to change you style.
Because the way how was build is really difficult to change the style of your component. But the new version 3.0 has a new approach that make easier to change your style and you can also combine with native gwt widget.
You can check the website