Thanks to both of you for the info. I suspected it was an issue with the CheckBox itself, but wanted to make sure that I wasn't missing something obvious.
My fix (for now) has just been to manually add my own Label (instead of using the CheckBox label) and handling mouse over the Label events, as the CheckBox itself isn't essential. If I do switch back, your suggestion of a Composite is exactly what I'll do. Thanks! On Nov 20, 3:18 am, Thomas Broyer <t.bro...@gmail.com> wrote: > On Nov 20, 2:01 am, dave <dpdear...@gmail.com> wrote: > > > First and only time I'll bump this, but I've yet to find a solution. > > > Adding a MouseOverHandler to the GWT CheckBox widget only fires when > > mousing over the checkbox itself from the top, left, or bottom. It > > does not fire when mousing over the text label or when moving from > > the text over the actual checkbox. > > > How can I add a MouseOverHandler that will fire when over the label of > > a CheckBox? > > If you ask me, this is a bug in CheckBox (it uses many "hacks" to get > events sunk on the checkbox rather than <span> that encloses both the > checkbox and label, which leads to this behavior and which I'm really > not sure is needed –cannot it take advantage of events bubbling to the > span?–) > > In the mean time, you'd have to copy/fix CheckBox (or in other words > create your own). -- 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 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=.