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 User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,343
    Vote Rating
    249
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar