1. #1
    Sencha User SlashEMc2k's Avatar
    Join Date
    Jul 2007
    Posts
    84
    Vote Rating
    0
    SlashEMc2k is on a distinguished road

      0  

    Wink [2.0.1][OPEN] Window/Border layout collapse issue.

    [2.0.1][OPEN] Window/Border layout collapse issue.


    A visual problem I noticed using Firefox 2.0.0.11 with Ext.201

    If you setup a border layout within a window.
    My example below regions:- south, center and west.

    With south region being collapsible and collapsed.

    When you increase the scale of the window width + height and expand the collapsed the south region by selecting the center up arrow button.

    The expanding collapsed area hasn't taken notice that the window has been resized.

    Example:
    Code:
    Ext.onReady(function() {
    	/* Items */
    	var westReg = {
    		xtype:'panel',
    		id:'westReg',
    		html:'West Region'
    	}
    	
    	var centerReg = {
    		xtype:'panel',
    		id:'centerReg',
    		html:'Center Region'
    	}
    	
    	var southReg = {
    		xtype:'panel',
    		id:'southReg',
    		html:'South Region'
    	}
    	
    	/* Window */
    	var test = {
    		id:'test',
    		title: 'Test Window',
    		closable:true,
    		collapsible:true,
    		maximizable:true,
    		minimizable:true,
    		width:550,
    		height:350,
    		plain:true,
    		layout: 'border',
    		items: [{
    			region:'west',
    			width: 200,
    			minSize: 80,
    			layout:'fit',
    			split: true,
    			items: westReg
    		},{
    			region:'center',
    			layout:'fit',
    			items: centerReg
    		},{
    			split:true,
    			height:100,
    			autoHide:true,
    			collapseMode:'mini',
    			region:'south',
    			layout:'fit',
    			items: southReg,
    			collapsed :true
    		}]
    	};
    	
    	/* Launch Test*/
    	win = new Ext.Window(test);
    	win.show();
    });
    Attached Images
    Last edited by brian.moeskau; 12 Mar 2008 at 3:31 PM. Reason: Fixed in 2.0.2

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    Actually, there is still an issue. However, one problem with your code is that you do not have collapsible:true on your south region, which in combination with autoHide:true and collapseMode:mini causes weird things to happen. Also, not part of the issue, but as an aside, you do not need the extra layer of panels that you're adding. Just add the region panels directly without items like this:
    Code:
    Ext.onReady(function(){
    	/* Window */
    	var test = {
    		id:'test',
    		title: 'Test Window',
    		closable:true,
    		collapsible:true,
    		maximizable:true,
    		minimizable:true,
    		width:550,
    		height:350,
    		//plain:true,
    		border: false,
    		layout: 'border',
    		items: [{
    			region:'west',
    			width: 200,
    			minSize: 80,
    			layout:'fit',
    			split: true,
    			id:'westReg',
    			html:'West Region'
    		},{
    			region:'center',
    			layout:'fit',
    			id:'centerReg',
    			html:'Center Region'
    		},{
    			id:'southReg',
    			html:'South Region',
    			split:true,
    			height:100,
    			autoHide:true,
    			collapseMode:'mini',
    			region:'south',
    			layout:'fit',
    			collapsible: true,
    			collapsed :true
    		}]
    	};
    	
    	/* Launch Test*/
    	win = new Ext.Window(test);
    	win.show();
    });
    I still see the original issue you mentioned, and I believe it's the same issue that has already been reported in another thread related to resizing and region size/position. We'll take a look at this for a future release.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar