1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    82
    Vote Rating
    0
    expertmo is on a distinguished road

      0  

    Default Resize slow on Firefox

    Resize slow on Firefox


    H everybody,
    I have an application with a very complex and 'hard' layout: it's a tab panel, with 10 tabs inside.
    Each tab it's a border layout (with fittoparent plungin) with a north region very simple with some form field, but with a center region that contains 5 grids organized in a column layout (each column has a fit layout type in order to size correctly on the column).
    Everything is mainly organized in a vieport.
    I have the following problem: when i resize my browser window, everything is very fast under IE (version 8), but on firefox is tremendous slow, also with firebug closed.
    I've already tried to reduce the number of rows on my grids with a paging toolbar, and I removed every not need nested panel or layout level.

    Is that a common problem? There's really a tremendous difference between the two browsers, on Firefox is almost unsable.

    Any suggestion will be appreciated.

    Thanks
    AD

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

      0  

    Default


    Quote Originally Posted by expertmo View Post
    (with fittoparent plungin)
    Not necessary.

    Layouts perform sizing.

    It's what they are for

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

      0  

    Default


    (each column has a fit layout type in order to size correctly on the column)

    BZZZZT! Why would you WRAP a grid in a fit layout Panel?

    Want 5 grids side by side? (And I can't imagine why you would) then use a Container configured

    Code:
    {
        xtype: 'container',
        region: 'center',
        layout: {
           type: 'hbox',
            align: 'stretch'
        },
        items: [grid1, grid2, grid3, grid4, grid5]
    }
    (Where grids are configured with flex)

  4. #4
    Ext User
    Join Date
    Jul 2007
    Posts
    82
    Vote Rating
    0
    expertmo is on a distinguished road

      0  

    Default


    Thanks Animal! The hbox is my solution!
    I need the 5 grids because I need to make a sort of immediate comparison between 5 differents search results.
    On the fittoparent, I use it because I don't want to give a fix height for my components and in order to avoid scrolls. Using fittoparent plugin I have the border region always with the right dimension.
    I'm sorry I did not think about HBOX layout, I modified my code with your direction and now the resize time is really better.

    Thanks again!
    AD

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

      0  

    Default


    Nope.

    You do NOT need FitToParent

Similar Threads

  1. Extjs is cool; but very slow on firefox !
    By stailer in forum Community Discussion
    Replies: 15
    Last Post: 9 Mar 2012, 11:54 AM
  2. Grid resize is very slow
    By KelVarnsen in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 13 Jan 2009, 3:47 AM
  3. ExtJs performs slow in Firefox 3
    By leandrorc in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 5 Jul 2008, 5:51 AM
  4. Runs OK in IE, slow in Firefox
    By richard_h in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 20 Aug 2007, 1:44 PM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi