Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

ScrollView orientation
Started by apps30 Feb 21 2019 07:27 PM

- - - - -
1 reply to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Enthusiast

  • 76 posts
  • Corona SDK

I think this a common question but I can't find any answer about it.


I had a scrollview (not in full screen). When the screen rotate, it is able to re-position and rotate automatically but it doesn't able to resize it. 


I tried to add system runtime event for handling 'resize' and want to manually resize the scrollview, but I found the api doc telling me the scrollview is not able to resize or scale:




So, my question is how can I resize the scrollview and everything within the scrollview when the screen rotate?



[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Corona Geek

  • 3,069 posts
  • Corona SDK

I would make the scrollview the largest size you might need it and only put content into the portion which requires displaying for the screen orientation.