Thanks for your comment Michael. Happy that I ignored this possibility since looks the right fit.
It would be good having a compilation of the possible options to declare the CSS in GWT. I have seen at least: 6 different. As a quick review:
-- It would be good having a compilation of the possible options to declare the CSS in GWT. I have seen at least: 6 different. As a quick review:
1* normal reference in main HTML file, i.e. <link rel="stylesheet" type="text/css" href="/css/demo.css">
2* included in the .gwt.xml module file, i.e.
4* created inside UiBinder as <ui:style> .panel { width: 100%; } </ui:style> used as addStyleNames="{style.panel}
5* created inside UiBinder with @external
6* referenced from uiBinder as you said addStyleNames="btn btn-default get"
2* included in the .gwt.xml module file, i.e.
<stylesheet src='stylesheet.css' />
3* imported to UiBinder and declared as <ui:style src="stylesheet
.css" />4* created inside UiBinder as <ui:style> .panel { width: 100%; } </ui:style> used as addStyleName
5* created inside UiBinder with @external
6* referenced from uiBinder as you said addStyleName
Thanks
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