When is open stack sent on Mobile
Sannyasin Brahmanathaswami
brahma at hindu.org
Thu Jul 28 17:06:50 EDT 2016
Make sense, the dictionary doesn't state explicitly that a resizeStack msg is sent when orientation is changed.. that's why I did not go that route, but looking at the
orientationChanged
entry… which says
" If you wish to perform an action after the interface has been rotated, then either do so on receipt of resizeStack, or by using a send in 0 milliseconds command."
it infers that resizeStack is sent..
I'll try that.
On 7/28/16, 9:05 AM, "use-livecode on behalf of J. Landman Gay" <use-livecode-bounces at lists.runrev.com on behalf of jacque at hyperactivesw.com> wrote:
Yeah, what Richard said. Use resizeStack to reset the UI. I think
specifically setting the rect of the stack may cause issues when you run
on Android where window sizes are all over the place.
I'd let the engine manage the stack size by using the fullScreenMode
property, and set up all your objects using relative coords rather than
hard-coded ones.
More information about the use-livecode
mailing list