Native scroller and iPhone X and >

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Native scroller and iPhone X and >

Rick Harrison via use-livecode
Hello and happy new year !

I’ve tested my app on an iPhone X and the height of the native scrollers are not corrects.
It seems that this is due to the notch. The scrolling area is smaller than needed.

Il i test the same app on an iPhone < X (without notch) it’s ok.

What I missed ?

Here the script ( it’s a locked grp with an field on it)  :
mobileControlCreate "scroller", sControlName

mobileControlSet sControlName, "rect", the rect of grp «  scroller »
mobileControlSet sControlName, "contentRect", "0,0," & the formattedWidth of  of fld «  toScroll » & comma & the formattedHeight of fld «  toScroll »


Any ideas, i can't solve the problem.

Thanks !
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode