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.
7 Answers
-
Hey Neil,
Here's an example of what you are looking for in the 1.0 Kitchen Sink
-
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.
-
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?
-
test2
-
test
-
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.
-
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.