1. #1
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,655
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default LayoutRegion, autoHide -> 1.1b

    LayoutRegion, autoHide -> 1.1b


    Was trying to use 'autoHide' in a layout region, but it had no effect.

    Code:
    layout = new Ext.BorderLayout(document.body, 
    	     {
    	        west: 
    	        {
                   split:true,
                   initialSize: 220,
                   minSize: 175,
                   maxSize: 400,
                   titlebar: true,
                   collapsible: true,
                   animate: true,
                   autoHide: false
    	        },
                center: 
                {
                   autoScroll: true
                }
             });
    
             layout.beginUpdate();
             layout.add('west', new Ext.ContentPanel('left', 'Widgets'));
             layout.add('center', new Ext.ContentPanel('dashboard-center'));
             layout.endUpdate();
    Cheers,
    Evan

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,655
    Vote Rating
    583
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Proposed patch in SplitLayoutRegion.js

    Code:
    if(config.hideWhenEmpty || config.hidden){
                    this.hideSplitter();
    
    this.autoHide = config.autoHide || false;