Something's shortening my full-screen window
Posted: Sun Feb 07, 2016 8:46 am
I have an app compiled with 7.1.1 that presents a fixed 1280x800 window. On a Mac with a 1280x800 screen, I can get this to fit with
This positions it so that its title bar is covered by the system menu bar, which is fine because the app name isn't important, and the "hide" button function can be performed with Option-H.
When I open it in the IDE, the IDE shortens and narrows the window by about 20 pixels, chopping the bottom and right off, so I have to enter the above command into the message box to restore it. I also included this command in my "startup" handler, to ensure it's properly sized and positioned when I run it as a standalone. However, if I build a standalone and then run it, I find that it is positioned correctly, and has the correct width, but the bottom 20 pixels are chopped off.
What's doing this, and how can I stop it?
Code: Select all
set the rect of stack "main" to "0,20,1280,800"
When I open it in the IDE, the IDE shortens and narrows the window by about 20 pixels, chopping the bottom and right off, so I have to enter the above command into the message box to restore it. I also included this command in my "startup" handler, to ensure it's properly sized and positioned when I run it as a standalone. However, if I build a standalone and then run it, I find that it is positioned correctly, and has the correct width, but the bottom 20 pixels are chopped off.
What's doing this, and how can I stop it?