Finally, I am back online and in coding-mode.
Here is a simple test stack... test.zip
http://sr-apps.com/livecode/test.zip
I have created one card with a button placed at 600,600. I have also placed an 'X' at 300,300 just to test my theory.
On a retina iPad, tapping the button causes the menuPick spinner to open at the X, with the spinner's arrow pointing up to the X.
On a non-retina iPad, it correctly opens above the button, with the arrow pointing down to the button.
This, I think, demonstrates the fact the spinner - on a retina device - is opening where it would do, if the device was non-retina.
There's very little code so for ease of reading I've added here too...
First the stack script:
Code: Select all
on preOpenStack
set the visible of this stack to true
set the acceleratedRendering of this stack to true
--set resolution independence mode
set the fullscreenmode of this stack to "letterbox"
--set allowed orientations
mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right"
if the platform is iphone then
iphoneSetRedrawInterval
iphoneUseDeviceResolution true, true
end if
--set stack size
if the environment is mobile then
if gORTN = "portrait" then
set the rect of this stack to 0,0,768,1024
else
set the rect of this stack to 0,0,1024,768
end if
end if
end preOpenStack
And the button code is simply:
Code: Select all
on mouseUp
mobilePickDate "time",,,,,"cancelDone"
end mouseUp
Can anyone see a bug here???
TIA
--paul
[LC6.6.1]