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

Add enlarged UI #21853

Merged
merged 5 commits into from May 18, 2024
Merged

Add enlarged UI #21853

merged 5 commits into from May 18, 2024

Conversation

Gymnasiast
Copy link
Member

The current interface is not really suitable for touch mode. This PR aims to make a start in supporting it.

Two things are changed in this PR:

  • Dropdowns have more vertical space, so the user can choose more easily
  • Dropdowns will always stay open on click, rather than requiring a drag action

afbeelding

Future additions will include drawing other widgets bigger, like the close button, price widgets, etc.

@Gymnasiast Gymnasiast added the changelog This issue/PR deserves a changelog entry. label Apr 20, 2024
src/openrct2/config/Config.cpp Outdated Show resolved Hide resolved
data/language/en-GB.txt Outdated Show resolved Hide resolved
@Gymnasiast Gymnasiast force-pushed the feature/touch-mode branch 2 times, most recently from e60e8ca to e625a9f Compare April 20, 2024 22:37
@AaronVanGeffen
Copy link
Member

The added spacing will be a marked improvement for touch users, no doubt. I wish we wouldn't be increasing the height of separator items as well, but I can see why that's troublesome given the current widget system.

Ideally, future changes in window layout to accommodate this touch mode would tie in with refactors to the window system to make the layout more heuristics-based.

Testing this PR, one thing in particular stood out. When the window isn't large enough to accommodate particular dropdowns, it would be good to automatically spread the items across two columns. Initially, I thought this might be relatively niche, but the View menu makes it obvious what I mean, I think:

Screenshot 2024-04-27 at 14 42 46

@Gymnasiast Gymnasiast changed the title Add touch mode Add enlarged UI May 7, 2024
@Gymnasiast Gymnasiast force-pushed the feature/touch-mode branch 3 times, most recently from 855bde9 to 67ba687 Compare May 7, 2024 19:45
@Gymnasiast Gymnasiast added this to the v0.4.12 milestone May 13, 2024
@Gymnasiast
Copy link
Member Author

afbeelding
afbeelding

@Gymnasiast Gymnasiast merged commit 15d5f75 into OpenRCT2:develop May 18, 2024
22 checks passed
@Gymnasiast Gymnasiast deleted the feature/touch-mode branch May 18, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog This issue/PR deserves a changelog entry.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants