Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
    Andrew.Golik is on a distinguished road

      0  

    Exclamation forceFit is broken for Ext.panel.Table.

    forceFit is broken for Ext.panel.Table.


    It's very easy to reproduce, you can use Examples/grid/sliding-pager.html with forceFit set to true.
    You will notice the shift between columns after the size change of any column.

    Is there any workaround?

    Thanks in advance.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is due to the Company column having flex : 1. Remove the flex : 1 and it works as expected for me.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
    Andrew.Golik is on a distinguished road

      0  

    Default I guess you don't even try.

    I guess you don't even try.


    Set forceFit to true and you will notice it anyway.

    Code:
    var grid = Ext.widget('gridpanel', {
            title:'Sliding Pager',
            forceFit:true,
            store: store

    2012-08-24_0957.png

  4. #4
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
    Andrew.Golik is on a distinguished road

      0  

    Default flex:1

    flex:1


    Quote Originally Posted by mitchellsimoens View Post
    This is due to the Company column having flex : 1. Remove the flex : 1 and it works as expected for me.

    It doesn't help.

  5. #5
    Touch Premium Member
    Join Date
    Nov 2009
    Location
    London
    Posts
    49
    Vote Rating
    6
    mattgoldspink is on a distinguished road

      0  

    Default


    I know this is closed but for the sake of clarity in case anyone else hits the same issue and stumbles across this report via Google, I've filed a new ticket about this here:

    http://www.sencha.com/forum/showthre...esize&p=944853

Thread Participants: 2

Tags for this Thread