1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default GXT BufferView column widths off in chrome

    GXT BufferView column widths off in chrome


    If you go here:
    http://sencha.com/examples-2

    a
    nd go to the BufferView example in the latest version of Chrome, you can see that the third column is a few pixels off when you scroll down to the rows that are initially not visible in the grid.

    Resizing brings the columns back to the smaller width, but if you scroll again to the next section, you'll see that the rows that are off-screen are always a few pixels off when they come back on screen.

    This effect is magnified if you have many columns. The widths seem to be exactly 2 pixels bigger in the offsite row-space than they are in the visible row-space. So if you have 12 columns, your last column will end up being 24pixels off to the right vs the last column in the visible row-space.

    The effect doesn't manifest in Firefox. Only in Chrome (and I think only in newer versions of Chome.)

    When inspecting the cells in Chrome Developer Tools, I noticed that the visible items seem to be 2 pixels thinner than the off-screen items. So, if my column is initially set to 70 pixels, the onscreen cells will show a width of 68 pixels, and the offscreen cell (after they scroll on-screen) will have a width of 70 pixels.

    Any chance of getting someone to look into this and releasing a patch to GXT 2.2.5?

    Thanks!

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default


    Just checking if anyone else is having problems with this on chrome...

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,733
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Yep - the general issue is that Chrome 19 changed some details that had held constant for a number of years, and that GXT had taken for granted. We have a fix for the issue, and will be releasing it as soon as we are sure there are no unintended side effects.

    Thanks for the heads up, and we'll update this thread after we've made the changes available.

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This issue has been resolved. Please see the release announcement: http://www.sencha.com/forum/announcement.php?f=45&a=35.

Thread Participants: 2

Tags for this Thread