Results 1 to 2 of 2

Thread: [FIXED] Info not adjusting for scroll

  1. #1
    Sencha User
    Join Date
    Sep 2008
    Posts
    9
    Vote Rating
    0
      0  

    Default [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
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    131
      0  

    Default

    Fixed in SVN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •