Results 1 to 2 of 2

Thread: 4 column layout

  1. #1
    Sencha User
    Join Date
    Jun 2009

    Default 4 column layout

    Hi, i need to make a 4 column layout with Sencha Touch. It's for a mobile device (iphone and android).

    Usually i would've done this with a table. Set the width="100%" and each column would be 25%. The table itself doesn't have to be fancy at all. No need to select/edit columns or rows or anything like that.
    I just need the table cells to put some data in.

    But i'm not sure how to do this with Sencha Touch. Any ideas?

  2. #2
    Sencha User
    Join Date
    Jul 2010


    You could use something along the lines of
      xtype: 'panel',
      layout: {
        type: 'hbox',
        align: 'stretch',
        pack: 'justify'
      items: [{
        //panel for column 1
      }, {
        //panel for column 2
      }, .......

Posting Permissions

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