Results 1 to 2 of 2

Thread: splitterResize bug

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jul 2009
    Location
    The Netherlands
    Posts
    196
    Vote Rating
    0
      0  

    Default splitterResize bug

    While using the border layout, 'splitterResize' doesn't work.

    Fixed it in /src/resizer/BorderSplitterTracker.js in function onBeforeStart on line 129:

    Code:
    if (splitter.canResize === false) {
                return false;
    }
    Tested in ExtJS 4.1.1a.

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,964
    Vote Rating
    930
      0  

    Default

    Seems like this is already fixed for 4.2, the following code shows the splitter but you can't resize it using the mouse:

    Code:
    Ext.onReady(function() {
    
        Ext.create('Ext.container.Viewport', {
            layout: 'border',
            items: [{
                region: 'west',
                split: true,
                width: 200,
                splitterResize: false
            }, {
                region: 'center'
            }]
        })
    });
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

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