I was overjoyed to see "autoscaling" as part of livecode's 6.5 update. I have been able to make my apps scale/resize so much easier with only 3 lines of code. My question is how do I make my apps scale/resize with a scroller?
I can make my apps scroll just fine using the "create a native scroller to scroll text fields" tutorial
However when I add the 3 lines of code to make my apps scale/resize the "scroll area" stays small (about half of the screen) with the horizontal scroll bar staying at about halfway on the screen. I can scroll it like this (by just touching in the top half of the screen) for a while, but then it eventually stops showing the "blue haze" that indicates you have scrolled all the way-even though I still have more to go.
This is the code I use to make the stack resize:
Code: Select all
on preOpenStack
set the fullscreenmode of me to "exactFit"
end preOpenStack
P.S: I am testing on an android-galaxy s4 but want to make this app work on both ios and android.