Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-3521 in a recent build.
  1. #1
    Sencha User R56's Avatar
    Join Date
    Mar 2011
    Posts
    32
    Vote Rating
    0
    R56 is on a distinguished road

      0  

    Default Resizing Window

    Resizing Window


    Hi,

    Long story short.
    There's a bug with resizing a window. You can get it a lot of different ways. I found that easiest is:
    Create a window(yep, I know there's a lot of overhead):
    Code:
    Ext.create('Ext.window.Window', {
    	title: "A Window",
    	width: 550,
    	minWidth: 350,
    	layout: 'fit',
    	constrain: true,
    	autoScroll: true,
    	collapsible: false,
    	resizable: true,
    	
    	fieldDefaults: {
    		labelAlign: 'right',
    		labelWidth: 130
    	},
    	defaults: {
    		anchor: '100%'
    	},
    	
    	items: [Ext.create('MargnApplication.form.Panel', {
    		bodyPadding: 5,
    		defaults:{
    			anchor: '100%'
    		},
    		items: [{
    			fieldLabel: "The first field",
    			xtype: 'textfield',
    			name: 'x',
    	        allowBlank: false
    		},{
    			fieldLabel: "The secondone",
    			xtype: 'textfield',
    			name: 'y',
    	        allowBlank: false
    		}]
    	})]
    }).show();
    Now take it from left or the right side and resize it to as small as gets with one drag. You get something like the picture in the attachments - empty area in window body's right and bottom sides.
    The problem is with the autoScroll - managing the scrollbars is failing.

    Cheers,
    R


    PS: Nice to see that you got the "Preview Post" button working at last.
    Attached Images

  2. #2
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    thanks for the report, I got it filed as EXTJSIV-3521

  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,626
    Vote Rating
    817
    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


    Checked against latest code and this seems to be resolved. Marking as fixed.
    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.

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    15
    Vote Rating
    0
    vikaskale is on a distinguished road

      0  

    Default


    Thanks for resolving this issue.
    I have got same issue with Panel also.
    May I know is same issue is resolved for Panel also?