Skip to content

Added dynamic editor window size selection#328

Merged
adriengivry merged 1 commit intomainfrom
feature/dynamic_editor_window_size
Feb 15, 2025
Merged

Added dynamic editor window size selection#328
adriengivry merged 1 commit intomainfrom
feature/dynamic_editor_window_size

Conversation

@adriengivry
Copy link
Copy Markdown
Member

@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

@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
@adriengivry adriengivry changed the base branch from develop to main February 14, 2025 15:31
Comment thread Sources/Overload/OvEditor/src/OvEditor/Core/Context.cpp
* 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 force-pushed the feature/dynamic_editor_window_size branch from 8b17b00 to 8ecb999 Compare February 15, 2025 19:11
@litelawliet litelawliet self-requested a review February 15, 2025 19:21
@adriengivry adriengivry merged commit 888503e into main Feb 15, 2025
@adriengivry adriengivry deleted the feature/dynamic_editor_window_size branch February 15, 2025 19:22
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

Development

Successfully merging this pull request may close these issues.

2 participants