Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Is this a bug?
-
<pre>from scene import *
import sysclass Test(Scene):
def setup(self):
print self.sizedef draw(self): sys.exit()
run(Test())</pre>
The screen size of the iPad 2 in pixels is 768x1024, in portrait mode. But when running this script it looks like the height looses 20 pixels, both in landscape and in portrait, while the width stays like it is supposed to.Output in landscape: Size(w=1024.0, <b>h=748.0</b>)
Output in portrait: Size(w=768.0, <b>h=1004.0</b>)Is this supposed to happen? And if so, why doesn't it happen on my iPhone 4S as well? Can anyone else replicate this?
-
The title bar does not seem to go away on the iPad, but it does on the iPhone.
-
Yes, the size of the scene doesn't include the status bar, which is 20 points high. On the iPhone, the status bar is hidden when a scene is run.
-
Oh, I see. Thanks guys ;)