Use z-index CSS property to set the depth of your widgets. Higher z-index would get priority
Sent from my iPhone On Jul 13, 2012, at 5:17 PM, Navigateur <naveen.c...@gmail.com> wrote: > This used to work on Firefox in GWT 2.3 on Window XP, but now on Chrome and > IE with GWT 2.4 and Windows Vista I can't make my Widgets, which are in front > of a Canvas (or Vaadin DrawingArea), receive any mouse events at all. > > A widget is placed in front of the drawing surface like so: > > absolutePanel.add(canvas); //drawing surface, whether it's a Canvas or Vaadin > DrawingArea > absolutePanel.setWidgetPosition(canvas, 0, 0); > absolutePanel.add(myWidget); > absolutePanel.setWidgetPosition(myWidget, 0, 0); > > If I do not add the "canvas", "myWidget" receives its mouse events fine. > How do I make sure "myWidget" can receive all its mouse events properly in > this scenario? > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/oxkWAvKVuG0J. > 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. -- 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.