maccman/macgap — Issue #35: Window opens in weird position and size
Author: jhuckaby
Created: 2012-03-06 00:37:34+00:00
State: open

Hey Alex,

Thank you so much for macgap! I am much enjoying playing with it, and starting to design some great apps built on it. However, I have an issue. The main macgap window opens in a sort of "non-standard" position and size, like on the bottom-left corner of my screen, and at a size I do not want. I know I can use JavaScript to resize and reposition the window, but that is very "jerky", as the window appears to "jump" to the new location after it has already opened. This isn't a great user experience.

My question is, can you simply launch the app with the window initially hidden, and then show it once the DOM finishes loading? That would solve all my problems I think.

Or, is there any way for me to configure the initial position and size of the window, possibly with command-line arguments or Info.plist changes?

Thanks again for a great framework!

- Joe