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

Guess UI-Scale on initial start #35

Open
rubenwe opened this issue Apr 24, 2020 · 1 comment
Open

Guess UI-Scale on initial start #35

rubenwe opened this issue Apr 24, 2020 · 1 comment
Labels
good first issue Good for newcomers quality of life Makes tool easier to use

Comments

@rubenwe
Copy link
Owner

rubenwe commented Apr 24, 2020

On the initial start of the application, if no ApplicationSettings exist, the UI-Scale for the application should be guessed based on the users system settings.

Most likely the relevant information can be determined from the Screen class in Unity.

@rubenwe rubenwe added good first issue Good for newcomers quality of life Makes tool easier to use improvement labels Apr 24, 2020
@lottehime
Copy link

Suggestion for the implementation:

Base UI object scaling from Screen.height / Screen.width dynamically as opposed to using currentResolution or by grabbing from Display.systemWidth / Display.systemHeight.
Alternatively implement CanvasScaler to handle scaling (depends on strucutre of UI objects as to what is more reliable).

If time permits, I will have a read over the source and propose a PR unless project is dead/stalled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers quality of life Makes tool easier to use
Projects
None yet
Development

No branches or pull requests

2 participants