Re: How do I overlay two images?

2009-10-04 Thread rjcarr

For this you'll likely want to use the AbsolutePanel.  This allows you
position items (Images) absolutely, i.e., by pixel, and then you can
control their z-level by CSS.

This is essentially the same thing you'd do outside of GWT ... you'd
need to use floating divs positioned absolutely.

On Oct 3, 7:49 pm, JoeB  wrote:
> How do I overlay two images, one on top of the other (i.e. at the same
> location on the screen)?  Can I do this with the GWT Image class?  How
> do I place them at the same location?
>
> To be more specific, I have two images: one is generated (it changes
> over time) and one is fixed (it never changes).  I want to draw the
> generated image first, and then place the fixed image over it.
>
> Thanks for the help!
>
> -- JoeB
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How do I overlay two images?

2009-10-03 Thread JoeB

How do I overlay two images, one on top of the other (i.e. at the same
location on the screen)?  Can I do this with the GWT Image class?  How
do I place them at the same location?

To be more specific, I have two images: one is generated (it changes
over time) and one is fixed (it never changes).  I want to draw the
generated image first, and then place the fixed image over it.

Thanks for the help!

-- JoeB
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---