I'm trying to use Twitter Bootstrap for GWT and get the same pretty and pretty look like the showcase here , and here is what I did:
1- loaded the module from git
2- run the package task in pom.xml
3- included the created bank on the way to the classes of projects.
4- inherited the module in the project.gwt.xml file using
<inherits name="com.github.nyao.bootstrap4gwt.Bootstrap"/>
5- included the module in my xml root
<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"/> <t:Button type="Success" text="sing in"/> <g:Label ui:field="errorsLabel"/> ... </ui:UiBinder>
But nothing happened. I got a normal text box and a regular button.
I looked at this tutorial, which is very good, and the guy understood correctly, his application has a very beautiful appearance. I looked at his code, but could not find a reason why my look was still normal, and he got a great view. thanks for the help in advance
source share