1. #1
    Sencha User
    Join Date
    Sep 2008
    Posts
    9
    Vote Rating
    0
    me2 is on a distinguished road

      0  

    Default [FIXED] Info not adjusting for scroll

    [FIXED] Info not adjusting for scroll


    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:

    Code:
      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.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,717
    Vote Rating
    107
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Fixed in SVN.