Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Styling TableViewRow like the main iPhone settings?

Hello,
Is it possible to style Titanium.UI.TableViewRow like the main settings is on iPhone, like title to the left and input/password to the right etc?

Thanks.

— asked April 17th 2010 by Jimp Pimps
  • input
  • iphone
  • password
  • styling
  • tableviewrow
0 Comments

1 Answer

  • Yes, along the lines of:

    var field = Ti.UI.createTextField({
      ...
    });
    var row = Titanium.UI.createTableViewRow({title: 'Here is the label', height:46});
    

    If you want to group them you need to consider using Sections.

    Scott

    — answered June 5th 2010 by Scott Penrose
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.