Ok... I finally found my error...
And in my "main" I simply did that :
All is fine now, exept one thing ! :D (Yeah... nothing can directly be perfect !)
-- Here is what I have done :
in my myButton2.java code :
public class myButton2 extends Composite {
private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
@UiTemplate("myButton2.ui.xml") interface MyUiBinder extends UiBinder<Widget, myButton2> { } public myButton2() { initWidget(uiBinder.createAndBindUi(this)); }}
And in my "main" I simply did that :
RootPanel.get("stockList").add(new HelloWorld());
All is fine now, exept one thing ! :D (Yeah... nothing can directly be perfect !)
My wave effect when I'm clicking on the button don't show up.
My waves attribute is still there in my .ui.xml like that :
<m:MaterialButton text="Button" waves="DEFAULT" backgroundColor="white" textColor="black" />
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment