Sebastian
Aug 07, 2013 - 14:07
from scene import *
import sys
class Test(Scene):
def setup(self):
print self.size
def draw(self):
sys.exit()
run(Test())
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, h=748.0)
Output in portrait: Size(w=768.0, h=1004.0)
Is this supposed to happen? And if so, why doesn't it happen on my iPhone 4S as well? Can anyone else replicate this?