1. #1
    Ext User
    Join Date
    Jan 2009
    Posts
    13
    Vote Rating
    0
    foronoob is on a distinguished road

      0  

    Exclamation Grid layout after Window resize Issue

    Grid layout after Window resize Issue


    Hi guys, I have an issue with grids after resize the window.

    I fix it in chrome:

    Code:
      win = new Ext.ux.Window({
                         monitorResize :false
                        ,listeners : {
                            resize : function(){ 
                                Ext.each(this.findByType("gridPanelExtended"), function(item, index, allItems) {
                                            item.getView().layout();
                                            
                                });
                            }
                        }
            });

    what does't fix in IE, could you help me?


    (sorry for my English)

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

      0  

    Default


    What layout is your Window using to size its child item?

    http://extjs.com/deploy/dev/docs/?cl...&member=layout

  3. #3
    Ext User
    Join Date
    Jan 2009
    Posts
    13
    Vote Rating
    0
    foronoob is on a distinguished road

      0  

    Default


    Not explicitly specified, just AUTO

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

      0  

    Default


    So you don't want its child item to be sized at all then?

  5. #5
    Ext User
    Join Date
    Jan 2009
    Posts
    13
    Vote Rating
    0
    foronoob is on a distinguished road

      0  

    Question


    I need when I resize the window, all child resized.

    loguin and after that maximize: (bad)



    loguin Maximized: (good)


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

      0  

    Default


    So.

    Did you click on the link I kindly provided to the extremely full and easy to read documentation that I kindly wrote?

  7. #7
    Ext User
    Join Date
    Jan 2009
    Posts
    13
    Vote Rating
    0
    foronoob is on a distinguished road

      0  

    Default


    sure, I tried with all the Layaouts but problem is still there.

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

      0  

    Default


    You haven't even shown code or specified requirements.

    The layout of a Container is responsible for sizing any children of that Container.

    That is how Ext works.

    So. What do you need? A grid in a Window?

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

      0  

    Default


    Quote Originally Posted by foronoob View Post
    sure, I tried with all the Layaouts but problem is still there.
    Don't. Please. It's a waste.

  10. #10
    Ext User
    Join Date
    Jan 2009
    Posts
    13
    Vote Rating
    0
    foronoob is on a distinguished road

      0  

    Default


    inside WIN i have 3 panels and 6 GRIDS for each panels

Thread Participants: 1