Hey guys,
I'm trying to style all the PushButton states but I'm having some
issues understanding how to style each separate state when I use a
custom class.
<ui:style>
.loginButton {
background-color: green;
}
.loginButton-up-hovering {
background-color: blue;
}
</ui:style>
<g:HTMLPanel>
<g:PushButton styleName='{style.loginButton}' text='My
PushButton'>
</g:PushButton>
</g:HTMLPanel>
This is the code I'm using to style the button and my problem is that
the .loginButton style class gets obfuscated to .GBS5M0VBIF
and .GBS5M0VBIF-up-hovering while hovering, and my .loginButton-up-
hovering class gets obfuscated to .GBS5M0VBJF so it won't get applied
to the button.
How can I tell GWT which class to use when hovering when using custom
style class?
Any help is greatly appreciated!
Thank you!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.