Positioning a window doesn't seem to work, is it a bug? #266
Closed
beaugunderson
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm adapting the SnowScape example and no matter what I pass for the
frame
the window origin does not change (it's always slightly above the center vertically and centered horizontally).I think the example works because macOS pushes the window around to keep it on the screen, which results in it taking up the whole area when it's the same size as the MainScreen frame.
Is this a bug?
Edit: This was 100% self-inflicted, the example calls
w.Center()
further down. 🙃Beta Was this translation helpful? Give feedback.
All reactions