@Brian Milby

Something just clicked... if fullscreenmode is not empty, then resizestack
messages are not generated.

You are right!  No "fillscreenmode" and 14 line of code works on iPhone.

But on not my Pixel.


----------------------

# Geometry

on preOpenCard

    resizeStack the width of this stack, the height of this stack

end preOpenCard

on resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight

   # check it is landscape, turn off the navigation Bar

    if tNewWidth > pNewHeight then

        put 0, 0, pNewWidth, pNewHeight - 50 into tBrowserRect

        hide group "footer"

    else

        put 0, 0, pNewWidth, pNewHeight into tBrowserRect

        show group "footer"

end if

set the rect of widget "body" of me to tBrowserRect

end resizeStack


I will issue a bug report.


BR

_______________________________________________
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

Reply via email to