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

Set maximum width for the toolbars GUI #2428

Open
Sebazzz opened this issue Apr 11, 2024 · 4 comments
Open

Set maximum width for the toolbars GUI #2428

Sebazzz opened this issue Apr 11, 2024 · 4 comments
Labels
feature Feature request

Comments

@Sebazzz
Copy link
Contributor

Sebazzz commented Apr 11, 2024

Describe the solution you'd like
Similar to the reporter of #2249 I'm playing Locomotion on my ultrawide 5120x1440. This works fine technically, the game does not crash and there are no weird bugs. However, from an UX perspective it is quite annoying because the toolbar is aligned to the corners of the screen.

Sample screenshot:

image

OpenRCT2 has similar problems, but for some reason it is less pronounced. I think they render the GUI perhaps even a bit larger regardless of the render scale, or perhaps it is simply because OpenRCT2 has many more items on the toolbar.

It would be great to have a feature to allow a maximum effective width of the GUI. You see this with other games that support ultrawide that they offer similar settings.

Describe options you've considered

  • Dropdown with explicit resolutions
  • Dropdown with screen ratio's to limit GUI to (for instance 4:3, 6:19)
  • Slider so the user can adjust it dynamically and immediately see the result

My preference goes to (3) and should be doable with the existing screen controls.

Additional context
Related issue #2249

@Sebazzz
Copy link
Contributor Author

Sebazzz commented Apr 11, 2024

As for #2428: Because windows open in the top left corner they tile nicely when you're opening multiple. I'm thinking that if this would be implemented you'd still constrain the windows to the top left corner, but within the limits set by the user.

@LeftofZen
Copy link
Contributor

You could generalise this with #2429 by defining a "UI layer" or "UI bounding box" that is where all the UI controls/windows are placed and rendered by default. This would then totally decouple the UI placement from the background game rendering which should give more flexibility to future features, eg blurring background windows, having filters over the game rendering (but not the UI windows), etc

@Sebazzz
Copy link
Contributor Author

Sebazzz commented Apr 12, 2024

Yes but the bounding box approach might mean you can't drag windows manually outside the bounding box, even if you want it.

@LeftofZen
Copy link
Contributor

Yes but the bounding box approach might mean you can't drag windows manually outside the bounding box, even if you want it.

Sure, only use that bounding box to guide initial window placement then

@LeftofZen LeftofZen added the feature Feature request label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants