1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    47
    Answers
    2
    Vote Rating
    0
    nmb1106 is on a distinguished road

      0  

    Default Unanswered: Alternate to LayoutContainer? Layout() really slow

    Unanswered: Alternate to LayoutContainer? Layout() really slow


    I'm writing a custom forum widget. In this particular code I've already taken the list of posts for this thread and built them each to my own custom panels.

    Here is a little code snipet of where its causing the issue:

    Code:
            lc.removeAll();
    
            for (ForumPostPanel fpp : fpps) {
                lc.add(fpp);
            }
            setHeading(thread.getBoardName() + " > " + thread.getTitle());
            replyBtn.show();
            refreshBtn.enable();
            lc.layout();
    The this is rendering so slow and I'm not sure how to get around it. I created a new date on each side of the lc.layout() call and checked the difference. It takes <0.2 seconds to get to that point from rpc call to get the thread posts, its taking about .5 seconds per post once it calls layout(). So for a thread with 10 posts its taking me over 5 seconds to load...as you can imagine forums get bigger than that.

    Is there something I could use instead of a LayoutContainer?

    Any tips would be appreciated.

    Thanks

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    47
    Answers
    2
    Vote Rating
    0
    nmb1106 is on a distinguished road

      0  

    Default


    Still having issues with this, any advice?

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Location
    Trabzon
    Posts
    99
    Vote Rating
    0
    harun is on a distinguished road

      0  

    Default


    can you post fully your code, I couldn't understand why layout is slow.

    Normally it must be fast. I used it milllions times.
    Website: harunates.com
    Blog: blog.harunates.com
    Feel free to contact me harun@harunates.com

Thread Participants: 1

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