me2
26 Feb 2009, 1:21 PM
GXT version 1.2.3
com.extjs.gxt.ui.client.widget.Info
The displayed 'info' popup isn't adjusting for the scroll of the viewport. The problem looks to reside in the position() method:
protected Point position() {
Size s = XDOM.getViewportSize();
int left = (s.width - config.width - 10);
int top = s.height - config.height - 10 - (level * (config.height + 10));
return new Point(left, top);
}The left and top should add in the XDOM.getBody().getScrollLeft() / getScrollTop() amounts to start the positioning at the lower right corner.
com.extjs.gxt.ui.client.widget.Info
The displayed 'info' popup isn't adjusting for the scroll of the viewport. The problem looks to reside in the position() method:
protected Point position() {
Size s = XDOM.getViewportSize();
int left = (s.width - config.width - 10);
int top = s.height - config.height - 10 - (level * (config.height + 10));
return new Point(left, top);
}The left and top should add in the XDOM.getBody().getScrollLeft() / getScrollTop() amounts to start the positioning at the lower right corner.