Re: Image inside button

2010-03-11 Thread Pondmouse
Why not try insert a GWT image and add clickhandlers to the image, the image then becomes your button. On Mar 8, 2:38 pm, gadaleta.marco gadaleta.ma...@gmail.com wrote: can you send me an example please? On 8 Mar, 13:21, mariyan nenchev nenchev.mari...@gmail.com wrote: use

Image inside button

2010-03-08 Thread gadaleta.marco
Hi @all, i'm trying to insert a little image inside button and insert the text. But if i use a pushbutton and insert a new image before and set a text after,i'm not able to see the image. How i can fix this problem? -- You received this message because you are subscribed to the Google Groups

Re: Image inside button

2010-03-08 Thread mariyan nenchev
use setStyle(image-as-background) where image-as-background is css what loads the image or you may use sprites. -- 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-tool...@googlegroups.com. To

Re: Image inside button

2010-03-08 Thread gadaleta.marco
can you send me an example please? On 8 Mar, 13:21, mariyan nenchev nenchev.mari...@gmail.com wrote: use setStyle(image-as-background) where image-as-background is css what loads the image or you may use sprites. -- You received this message because you are subscribed to the Google Groups