HI,
Am I missing something here?
In the old scrollView widget, the height of the content I was scrolling seemed to be automatically detected (i.e.: I didn’t have to specify).
Because the content of my scrollview is being created on the fly from a database I don’t actually know the height of it as it changes.
In the new scrollView widget 2.0 it seems to need a scrollHeight parameter, without which my content always pings back to its original position as soon as you release your finger.
Am I seriously going to have to work out the height of each set of content on the fly and pass this in to the scrollView widget? I have a lot of scrollviews in my app so this is going to be a major hassle. Calling content.height returns a 0.
Is there another way of me getting the height or telling the scrollView to automatically set the contentHeight attribute to be the height of the content I’m giving it?
If anyone from Corona can shed some light on this for me I’d really appreciate it.
Thanks,
Ian [import]uid: 123492 topic_id: 36448 reply_id: 336448[/import]