5 Oct 2009 11:13 AM #1
Menu popup position on IE6
I have a toolbar button with menu, it looks great on all browsers, except on IE6, the menu always pops up at the bottom right corner of the browser window. I could not figure out why. I know IE6 is supported by GXT 2 since the menus in the explorer demo works. I made sure the only stylesheet loaded is gxt-all.css. This problem occurs on a very simple example: the toolbar is setBottomComponent to a content panel, which uses FitLayout - compiled with GWT 1.7. Please help, any suggestion is appreciated.
6 Oct 2009 9:01 PM #2
this may work ..
get button position using buttonObject.getPosition(false)........
get x, y position from Point object returned by buttonObject.getPosition(false).........
and use menuObject.showAt(x,y);