What is the screen resolution of the device you did test your code on?
If you setup, in the IDE, the screen to 320*320 pixels and you test your code on a device with 240*320 pixels you will loose the 80 pixels horizontally.
AutoScale won't scale the screen according to these screen resolutions.
If you set the screen resolution in the IDE to 240*320 and compile it with AutoScale your code will work perfectly on devices with either 240*320 or 480*640 pixels. If you run this same code on devices with 240*400 or 480*800 pixels you will get an empty part of 80 or 160 pixels at the bottom.
Best regards.