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" 
<[email protected] on behalf of [email protected]> 
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.

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

Reply via email to