Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-14 Thread Thomas Broyer
On Thursday, January 13, 2011 11:41:47 PM UTC+1, zixzigma wrote: > > still would appreciate some tips on using images defined in the > clientbundle, > inside CSS > > > > can we do something similar to this ? > > .homeIcon { > background-image:'res.homeIcon'; > > } No. AFAICT, you'd have

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
I got it to work. I used an HTMLPanel, and wrapped my in html anchor . therefore it appears to be a link and my css selectors for a:hover, applies to it, and the background color is highlighted upon hover. Thank You.. still would appreciate some tips on using images defined in the clientbundle

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
Thank you, sorry, I believe I did not ask the right question. didnt provide the context in which these are going to be used. this list, is going to be a roll-over list, meaning upon hovering the background changes. this can be done in css, and I am getting it to work with css inside uibinder. (no

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread Jeff Larsen
.floatLeft{ float:left; } * * * * Probably a better design decision would be to make a custom widget for your inline hyperilnk and for your imageResource. -- You received this message because you are subscribed to the Google Groups "Goo

Re: cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
there was a typo, myIcon(); is infact homeIcon(); -- 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+u

cannot show an icon right next to a link, when having vertical list of link + icons

2011-01-13 Thread zixzigma
I want to show an icon right next to a link. However after spending a lot of time, could not make it work. public interface Resources extends ClientBundle { @Source("homeIcon.png") ImageResource myIcon(); } and UiBinder: on the top and the link with icon next to it: