Game window opens off-screen on Windows #5358
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
O-Windows
Specific to the Windows desktop operating system
Bevy version
0.7
Relevant system information
Windows 10
What you did
Running a game with 1920x1080 resolution on a 3440x1440 monitor, with
WindowDescriptor
being simply the followingWhat went wrong
The window opens about 1/3 from both top/left, and the bottom half of the game window is off-screen. Since there is no way to center the window (as in #4876) this is a bit problematic.
I don't think there's any current workaround that doesn't include hardcoding the position (which isn't desirable considering different screen resolutions).
winit
does allow centering the window rather easilyThe text was updated successfully, but these errors were encountered: