Hi, I use a vertical scrollview to display an image (719x3200) containing the rules of my game.
The image is “fullscreen” on mobile Wiko Wax (720x1280 - Android 4.3) and simulator in any resolution but on tablet Samsung Galaxy Tab 2 (800x1280) the width of the scrollview is not correct.
local scrollview = widget.newScrollView{ backgroundColor = {0,0,0}, x = 0, y = 0, width = display.contentWidth, height = display.contentHeight-90, scrollWidth = display.contentWidth, scrollHeight = 3200, horizontalScrollDisabled = true, } local img=display.newImage("rules.png") --719x3200 scrollview:insert(img)
As you can see, only the half of the screen is filled… An idea?