lowne / xCodea

a live execution environment for large Codea projects
12 stars 1 forks source link

displayMode & supportedOrientations #8

Open Spoddles opened 10 years ago

Spoddles commented 10 years ago

I have discovered that if I wish to get the correct reading for WIDTH in my app then I have to insert "displayMode(FULLSCREEN)" in the "EDIT_THIS" tab before the xCodea server value is set. If you don't then WIDTH will report (to the sandbox) the narrower value that you get when the output/parameter panel is showing. By going full screen first then the sandbox is given the correct values.

displayMode(FULLSCREEN) xCodea_server ="http://..."