1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    6
    Vote Rating
    0
    pratapbm is on a distinguished road

      0  

    Default Issue with window maximizing or minimizing

    Issue with window maximizing or minimizing


    Hi all,
    I have created one window and with 4 grids in it. Now when I maximize the window, then re size one of the grids(say, I increase the height of grid1) and then I restore the window to its original size. I don't see grid1 getting restored to its original size. Please see below the code I am using to create the window.

    var win = new Ext.Window({
    title : 'Window with Grids',
    layout : 'border',
    width : (screen.availWidth-25),
    height : 320,
    closable : false,
    maximizable : true,
    minimizable : true,
    plain : true,
    border : false,

    items: [{
    split: true,
    layout: 'border',
    region: 'west',
    width: (screen.availWidth-30)*0.55,
    margins: '0 0 0 0',
    border: false,
    items: [{
    split: true,
    layout: 'border',
    region: 'center',
    height: 150,
    border: false,
    items: [Grid0]
    },{
    split: true,
    region: 'south',
    layout: 'fit',
    height: 150,
    border: false,
    items: [Grid1]
    }]
    },{
    layout: 'border',
    region: 'center',
    margins: '0 0 0 0',
    border: false,
    items: [{
    split: true,
    layout: 'border',
    region: 'center',
    height: 200,
    border: false,
    items: [Grid2]
    },{
    split: true,
    region: 'south',
    layout: 'fit',
    height: 100,
    border: false,
    items: [Grid3]
    }]
    }]
    });

    Any information in this regard will be helpful.

    Thanks.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I give up. Why do you do it?

Thread Participants: 1