On Wednesday, July 10, 2013 11:26:32 AM UTC+2, Goosie wrote:
>
> Hi everyone!
>
> I am trying to add an image of a little looking glass to a search box but 
> I don't know how. 
> The search box is created by using SearchBox and the text inside is added 
> with .setValue(). 
>

There's no SearchBox widget in GWT proper. Did you mean TextBox or are you 
using a third-party library?
 

> Is it even possible?
>

Most people simply put the image in the background with CSS and set a 
padding to the box the size of the image so the text doesn't overlap the 
background image.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to