The fullscreenmode "letterbox" is really great to scale the stack, but on some screens there are "blank" zones.
It is possible to change the rect of the stack (after have set the fullscreenmode) to adapt the loc of all objects with the geometry function ?
I tried this, with a "640x1136" stack on a "iphone 3 device (320x480)" :
Any ideas ?on preopenstack
set the fullscreenmode of this stack to "letterbox" --> the stack fit on the screen but do not occupy full width of the screen
if the environment <> "development" then
put the screenrect into trect
put mobilePixelDensity() into theScaleFactor
-- set the fullscreenmode of this stack to empty -- have no effects
set the width of this stack to (item 3 of trect * theScaleFactor) --> the width is now ok, but the stack is also too high
end if
end preopenstack
Thanks