Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows sometimes create super wide on 2.0.0 #939

Closed
chreden opened this issue Apr 18, 2022 · 2 comments · Fixed by #945
Closed

Windows sometimes create super wide on 2.0.0 #939

chreden opened this issue Apr 18, 2022 · 2 comments · Fixed by #945
Assignees
Labels
Milestone

Comments

@chreden
Copy link
Owner

chreden commented Apr 18, 2022

For some unknown reason the windows can sometimes be created in a ridiculously wide initial state. This may be to do with having multiple monitors with different resolutions and layouts.

Secondary: 3440x1440
Primary: 1920x1080

Ini file attached.

imgui.txt

@chreden
Copy link
Owner Author

chreden commented Apr 19, 2022

When the window is launched on the small monitor, the windows are appropriately sized.
When launched on the large monitor, they are as wide as the monitor.
When the small monitor is disabled the windows are created at the correct size.

@chreden chreden self-assigned this Apr 19, 2022
@chreden
Copy link
Owner Author

chreden commented Apr 22, 2022

ocornut/imgui#5215

chreden added a commit that referenced this issue Apr 22, 2022
Windows were starting very wide if the primary monitor was on the right of the secondary monitor.
Replicate a fix from ImGui over to trview.
Closes #939
@chreden chreden added this to the Next milestone Apr 22, 2022
chreden added a commit that referenced this issue Apr 27, 2022
Windows were starting very wide if the primary monitor was on the right of the secondary monitor.
Replicate a fix from ImGui over to trview.
Closes #939
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant