Someone posted this on the widgets forum, but it doesn’t look like anyone from Corona has replied there recently so I’m posting this here as well.
Just to be sure I’m doing it correctly, I’m using width and height to set how big the scrollview should appear, and scrollWidth and scrollHeight to set the total amount of usable space within the scrollview.
Example:
local scrollListOptions = { width = display.contentWidth, height = display.contentHeight, scrollWidth = display.contentWidth, scrollHeight = display.contentHeight \* 2, } myScrollView = widget.newScrollView(scrollListOptions)
Ignoring the missing top, left, friction etc for now, am I correct in thinking that this SHOULD give me a scrollview that appears to be one screen wide and high, but scrolls enough to contain 2 screen heights of content?
If so, then it doesn’t work as of build 1207. Even if set scrollHeight to 0, nothing changes. It seems to just pick a default scrollHeight and stick with that.