1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    32
    Answers
    5
    Vote Rating
    0
    paulroth3d is on a distinguished road

      0  

    Default Answered: How to reorder Hbox items

    Answered: How to reorder Hbox items


    Hello,

    How can one reorder items in an hbox?

    Specifically, if there was a panelA and panelB added (both with flex of 1) (so A is left B is right)

    How could one switch the order of those two around? (so panelB is left and A is right)

    I can change the container.items (.items) order, but I don't see how to reapply the layout.

    Is the only way to store the items, destroy the container, and create a new container with those items applied in a different order?

    thanks,
    Paul

  2. if you have only 2 items
    Code:
    container.insert(0,container.getInnerItems(1));

  3. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Answers
    64
    Vote Rating
    20
    haduki will become famous soon enough haduki will become famous soon enough

      1  

    Default


    if you have only 2 items
    Code:
    container.insert(0,container.getInnerItems(1));
    I write English by translator.

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    32
    Answers
    5
    Vote Rating
    0
    paulroth3d is on a distinguished road

      0  

    Default


    Thanks for the quick reply.

    That gave me what I think I needed to continue.

    http://www.senchafiddle.com/#zeCk6

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