Wednesday, November 2, 2011

Re: Style individual cells on a VerticalPanel

Create the id property on the global css file in your application.
Change the background-color of id property using "hover Selector ".
Adds style name to this object using addStyleName(). Each image is
added in individual veticalpanel Try the below example

.gwt-HorizontalPanel
{
background-color: yellow;
color: black;
font-size: 24pt;
}
.gwt-HorizontalPanel:hover
{
background-color: red;
text-decoration: none;
}


S. Abraham
www.DataStoreGwt.com
Persist objects directly in Google App Engine

On Nov 1, 1:16 pm, gerry <gtzoga...@gmail.com> wrote:
> Hi all,
>
> I have laid some images vertically, using a VerticalPanel. I would
> like to use a rollover effect, changing the background of a cell
> whenever the user hovers it. Is this possible by using a
> VerticalPanel? I didn't find something similar to this in its
> documentation
>
> Thanks a lot

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment