Results 1 to 4 of 4

Thread: Layout components next to each other and then in new row

  1. #1

    Default Answered: Layout components next to each other and then in new row

    Hi All,
    I have unknown number of buttons and a panel.
    I would like to place the buttons in a row but when overflow, move the rest of the buttons to a new row.
    can anyone assist? I'm not familiar with any such layout.

    Thanks
    Dekel

  2. Found it.
    use column layout but do not specify columnWidth

  3. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,102
    Answers
    113

    Default

    you can use the column layout: http://docs.sencha.com/extjs/4.0.7/#...ntainer.Column

    when the columnWidth sum exceeds 1.0, it will automatically move the next component to next row.

  4. #3

    Default

    column layout is not enough because I need to know number of columns.
    I just want to add components and when reached the border of the panel, start a new row.

    Dekel

  5. #4

    Default

    Found it.
    use column layout but do not specify columnWidth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •