On 7/28/2016 12:46 PM, Sannyasin Brahmanathaswami wrote:
switching from landscape to portrait -- similarly one must re-set up the UI explicitly and typically the old way of doing such would be in a preopen or open stack handlers… again, these need to fire when moving back and forth. Just this morning I successfully was able to go from a stack in portrait orientation lock to portrait, portrait upside down to a landscape stack, lock to landscape right, left… and back again… but it required specifically setting the rect of the stack to 0,0,414,716 in a preopen stack handler
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.
-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode