Sorry, hit enter too fast. 

here is the example for a custom button with specific font and colors

<UiBinder>
<style>
.btn {
              color: #FF0080;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
font-size: 12px;
font-family: Gothic,sans-serif;
font-weight: bold;
text-align: left;
text-shadow: aqua;
background: none;
border : 1px solid #dbe9fb;
cursor: pointer;
}
</style>
<g:Button styleName="{style.btn}" ui:field="test">Test</g:Button>
</UiBinder>

one disadvantage with this approach would your button would appear the same 
when its enabled or disabled. If you have a need to display differently then 
you would have to update your CSS for those properties. Check out the GWT 
Button class and it would you the details about the CSS properties you can 
override

Thanks
Ashwin

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Mcy5SLRM-j8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to