Ade*_*lin 4 gwt twitter-bootstrap
我想使用Twitter的引导的GWT,并得到像橱窗一样漂亮,漂亮的景色在这里 ,这里是我所做的:
1-从git下载模块
2-运行pom.xml中的包任务
3-在我的项目类路径中包含了创建的jar.
4-继承我project.gwt.xml文件中的模块
<inherits name="com.github.nyao.bootstrap4gwt.Bootstrap"/>
Run Code Online (Sandbox Code Playgroud)
5-将模块包含在我的根xml中
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:m='urn:import:com.clouway.exreport.client.accountcreation.view'
xmlns:t='urn:import:com.github.nyao.bootstrap4gwt.client.ui'
>
<ui:style src="newRegistrationStyle.css"/>
<g:HTMLPanel addStyleDependentNames="{style.mainPanel}">
<div class="{style.headdistance}"/>
<div class="{style.container}">
<g:DecoratorPanel addStyleDependentNames="{style.decoratorPanel}">
<g:VerticalPanel addStyleDependentNames="{style.verticalPanel}}">
<m:AccountEditor ui:field="accountEditor"/>
<!--<g:Button ui:field="create" text="create"/>-->
<t:Button type="Success" text="sing in"/>
<g:Label ui:field="errorsLabel"/>
...
</ui:UiBinder>
Run Code Online (Sandbox Code Playgroud)
但什么都没发生.我有正常的文本框和普通按钮.
我看了一下这个非常好的教程,但是他的应用程序非常好看.我看了看他的代码,但没有找到任何理由为什么我看起来仍然正常,他得到了很好的看法.提前感谢您的帮助