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

Added dynamic editor window size selection #328

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adriengivry
Copy link
Owner

@adriengivry adriengivry commented Nov 22, 2024

User Problem

When working with higher resolution monitor, the default window size for Overload can be very small (1600x900). Instead of hard-coding the default resolution, it should be selected from a list of preset.

Description

  • Added GetWorkAreaSize method to the Device, allowing the editor to retrieve the "workable area" (aka safe size)
  • Default window size selected to fix the highest available resolution in a pre-determined 16:9 resolutions list.
  • If no available resolution is found (work area < 640, 360), an exception is thrown.

Related Issues

N/A

* default window size selected to fix the highest available resolution in a pre-determined 16:9 resolutions list.
* if no available resolution is found (work area < 640, 360), an exception is thrown.
@adriengivry adriengivry self-assigned this Nov 22, 2024
@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Editor Something relative with the editor labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editor Something relative with the editor QoL Quality of Life : Something that can improve users productivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant