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

      0  

    Default RowLayout, right to left

    RowLayout, right to left


    Hello.

    I have a Layoutcontainer with a Rowlayout (Orientation horizontal) and I would like to add the items from right to the left, instead of left to the right.

    Is there any way to do it?.

    Thanks.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    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


    Cannot you add the components simple in the reverse order to the container?

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

      0  

    Default


    Hey sven.

    What would we do without you?

    I'm sorry, I explained it really bad.
    The thing that I want is to align all the elements to the right side.
    I have a row with 580px of width and I want to add 8 images of 30px each, but aligning them to the right instead of the left.

    I've been trying with HorizontalPanel, this one has setAligment, but it doesn't work very well.

    Other options?.

    Thank you.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    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 are two solutions:

    Extend RowLayout and change the horizontal behaviour.

    Use HBoxLayout like in the last example here: http://www.sencha.com/examples/explorer.html#hboxlayout

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

      0  

    Default


    HBoxLayout worked for me.

    Thank you very much

Similar Threads

  1. Help with RowLayout
    By vladcd in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 23 Apr 2010, 7:04 AM
  2. RowLayout
    By jsknight in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 3 Mar 2010, 1:42 AM
  3. Where can I get RowLayout
    By zeroed in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 27 May 2009, 3:18 AM
  4. RowLayout help
    By posta07 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 3
    Last Post: 4 Jun 2008, 6:05 AM

Thread Participants: 1

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