Results 1 to 3 of 3

Thread: [4.2.0.265] Ext.layout.container.Auto.calculateOverflow()

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8253 in a recent build.
  1. #1
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nrnberg, Germany
    Posts
    78
    Vote Rating
    32
      0  

    Default [4.2.0.265] Ext.layout.container.Auto.calculateOverflow()

    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.2.0.265


    Description:
    It seems after refactor of this function, something have not been tested.
    On line 508 and 509 the vars yauto and xauto are confused. The var me.lastOverflowAdjust on line 511 is not set.
    DELACAP | Github
    "don't code today what you can't debug tomorrow"

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    lastOverflowAdjust is set in the completeLayout method.

    Do you have a test case that produces the errors?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Sencha Premium Member harrydeluxe's Avatar
    Join Date
    Jul 2007
    Location
    Nrnberg, Germany
    Posts
    78
    Vote Rating
    32
      0  

    Default

    When you click on an checkbox item, it will produce the errors.

    Code:
    Ext.onReady(function() {
    
        Ext.create('Ext.window.Window', {
            title: 'Testwindow',
            layout: 'anchor',
            constrain: true,
            closeAction: 'hide',
            resizable: false,
            overflowY: 'auto',
            maxHeight: 200,
            width: 120,
            items: [
                {
                    xtype: 'form',
                    border: false,
                    anchor: '100%',
                    defaults: {
                        anchor: '100%'
                    },
                    items: [
                        {
                            xtype: 'checkboxgroup',
                            hideLabel: true,
                            columns: 1,
                            vertical: true,
                            items: [
                                { boxLabel: 'Item 1', name: 'rb', inputValue: '1' },
                                { boxLabel: 'Item 2', name: 'rb', inputValue: '2' },
                                { boxLabel: 'Item 3', name: 'rb', inputValue: '3' },
                                { boxLabel: 'Item 4', name: 'rb', inputValue: '4' },
                                { boxLabel: 'Item 5', name: 'rb', inputValue: '5' },
                                { boxLabel: 'Item 6', name: 'rb', inputValue: '6' },
                                { boxLabel: 'Item 7', name: 'rb', inputValue: '7' },
                                { boxLabel: 'Item 8', name: 'rb', inputValue: '8' },
                                { boxLabel: 'Item 9', name: 'rb', inputValue: '9' },
                                { boxLabel: 'Item 10', name: 'rb', inputValue: '10' },
                                { boxLabel: 'Item 11', name: 'rb', inputValue: '11' },
                                { boxLabel: 'Item 12', name: 'rb', inputValue: '12' },
                                { boxLabel: 'Item 13', name: 'rb', inputValue: '13' }
                            ]
                        }
                    ]
                }
            ],
            buttons: [
                {
                    text: 'Hello'
                }
            ]
        }).show();
    
    });
    DELACAP | Github
    "don't code today what you can't debug tomorrow"

Posting Permissions

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