Titanium Community Questions & Answer Archive

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

How do we use top down layouts?

I don't see a way in the docs to access the top down layout stylings that is mentioned in this ticket for 1.0 - do you guys have an example or will that be in the forthcoming KitchenSink?

https://appcelerator.lighthouseapp.com/projects/32238/tickets/484-add-support-for-block-or-whatever-you-want-to-call-it-layout.

— asked March 9th 2010 by neil epstein
0 Comments

7 Answers

  • The vertical layout is nice when you simply want to stack multiple elements vertical and have the layout engine compute the positioning automatically. However, for more complex layouts, you'll need to use the relative positioning as normal.

    — answered March 9th 2010 by Jeff Haynie
    permalink
    0 Comments
  • Whoa, I don't see this documented anymore. It's exactly what I was looking for, but only found it accidentally by stumbling across this item. Why is there no API documentation for layout? I don't see it anywhere in Titanium.UI.View.

    Is it not really a property in the 1.0 code base?

    — answered March 10th 2010 by Bill Dawson
    permalink
    0 Comments
  • test2

    — answered March 12th 2010 by Nolan Wright
    permalink
    0 Comments
  • test

    — answered March 12th 2010 by Nolan Wright
    permalink
    0 Comments
  • Is it possible for these views to scroll? Sounds silly I know, but for the life of me I can't seem to get them to work properly once they exceed the native screen height.

    — answered March 21st 2010 by Brian Sumpter
    permalink
    0 Comments
  • I do not think a vertical view is really necessary. I would probably just use a TableView or a GroupedView to do this. You can add any control you need to these views and it works really well.

    — answered March 9th 2010 by Clint Tredway
    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.