Re: UiBinder PushButton states styling issues

2011-02-22 Thread Lucian Pacurar
Thank you! It works.

However @external .loginButton-*; doesn't although here it says it
should: http://code.google.com/p/google-web-toolkit/wiki/CssResource

I was expecting a more straightforward process because the app I'm
working on has lots of ui.xml files. Since Google deprecated the use
of old style CSS, I was expecting the GWT compiler to parse correctly
the class names and obfuscate them accordingly by generating a
".GBS5M0VBIF-up-hovering" instead of ".GBS5M0VBJF".

On Feb 21, 6:11 pm, Jeff Larsen  wrote:
> You can add
>    @external .loginButton;
> inside your  definition.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.



UiBinder PushButton states styling issues

2011-02-21 Thread Lucian Pacurar
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.


.loginButton {
background-color: green;
}
.loginButton-up-hovering {
background-color: blue;
}






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 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.