Hi there. I’d like to report a possible bug of the widget ScrollView. I think so because using the simulator, after having implemented in your code the ScrollView and having included an image, you can see everything just like it’s supposed to be seen. Instead, on the device, the image on the ScrollView is shown reshaped and centred. I’ve tried to fix it in many ways, but nothing works. I’ve also tested the version recommended by Corona’s official documents, but it’s just the same.
In order to let you understand better what i’m talking about, I insert the visual proof. This first image is the simulator; it appears perfect, just as it’s supposed to be.
This second image is the device’s screen: as you can see, it’s displayed in the wrong way.
Then, i insert the code I used; as you can see, it’s the official documents’ one.
display.setStatusBar(display.HiddenStatusBar) local widget = require( "widget" ) scrollView = widget.newScrollView { top = 0, left = 0, width = 2048, height = 1536, scrollWidth = 5000, scrollHeight = 1536, horizontalScrollDisabled = false, verticalScrollDisabled = true } local Immagine = display.newImage( "Spazio.jpg", 2500, 768, true) scrollView:insert( Immagine )
So, my question is: is it a ScrollView bug? Or it’s just me? Am i doing something wrong? The device i use it’s an iPad 3 with iOS 8. Unfortunately I have not other devices to test it. Hope to hear you soon. Sorry for my english and thank you for the attention.