1. #1
    Sencha User
    Join Date
    May 2011
    Location
    ShenZhen,China
    Posts
    9
    Vote Rating
    0
    mars0122 is on a distinguished road

      0  

    Red face How to add components in a smart way?

    How to add components in a smart way?


    When I switch cards in a TabPanel, I want to add some specified components into the current actived sub-panel, it blurned out that the second component can mask the first one. I tried insert adn add method but with the same problem.So, my dear friends,how to add components in a dynamic way without a specified layout? Thank you!

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,581
    Vote Rating
    319
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Using add() and insert() should work, though you might need to call doLayout().

    So, my dear friends,how to add components in a dynamic way without a specified layout?
    You must specify a suitable layout for all containers, you can't expect it to layout your components correctly if you don't specify what 'correct' is.

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