Open GoogleCodeExporter opened 8 years ago
One option,
Keep the variables to capture the mouse position in the addMouseOverHandler,
then use the above position variables to align your popup
int left =0;
int top = 0;
calendar.addMouseOverHandler(new MouseOverHandler<AppointmentInCalendar>() {
@Override
public void onMouseOver(MouseOverEvent<AppointmentInCalendar> event) {
Element element = (Element) event.getElement();
left = element.getAbsoluteLeft() + 10;
top = element.getAbsoluteTop() + 10;
}
});
Original comment by info2...@gmail.com
on 17 Dec 2010 at 7:50
Original comment by Brad.Ryd...@gmail.com
on 2 May 2013 at 8:35
Original issue reported on code.google.com by
pulastya...@gmail.com
on 25 Nov 2010 at 3:58