1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    62
    Vote Rating
    0
    maqjav is on a distinguished road

      0  

    Default Answered: Add widget in an specific position

    Answered: Add widget in an specific position


    Hello.

    I've a ContentPanel that contains 10 LayoutContainer with ids (layout-1, to layout-10).

    I would like to add another layoutContainer in an specific position (for example between the 3-4) and with an specific LayoutData.

    Right now I only can add it like that:

    Code:
    myContentPanel.add(myLayout, new RowData(1,1, new Margins(0)));
    And it appears at the end of my ContentPanel.

    And I would need something like...
    Code:
    myContentPanel.addAt(4, myLayout, new RowData(1,1, new Margins(0)));
    Where 4 is the position.

    Some ideas?

    Thanks.
    Regards.

  2. There is an insert method that is doing exactly what you are looking for

  3. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    There is an insert method that is doing exactly what you are looking for

  4. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    62
    Vote Rating
    0
    maqjav is on a distinguished road

      0  

    Default


    Right in front of my eyes and I didn't see it.

    I was looking for an "add" method and there is an "insert", that as you said, does exactly what I need.

    Thank you sven.

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