-
Notifications
You must be signed in to change notification settings - Fork 536
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
Rescale UI Elements for 4K Displays #870
base: develop
Are you sure you want to change the base?
Conversation
That's awesome, thanks. |
Hey @frvgs, thanks for the PR. As of now, I'm not sure if this will be done, or when this will be done, so I'll leave this PR open in case I decide to merge it instead. |
Yep ^^ This should be one of the better solutions. I could perhaps help out with this if I have some time over |
I'm used to playing on 4k screens and the Menu UI was almost unreadable
as described in this issue I used media queries targeting displays with a min-height of 2160px to rescale the Menu
Tested UI elements on both standard and 4K resolutions and verified that UI adjustments are applied only on displays with a height of 2160px or greater.
before
![before](https://private-user-images.githubusercontent.com/143963989/265971611-d2b93bff-95c6-4edd-93a2-09c866a6adad.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NTM4NDEsIm5iZiI6MTcyNDU1MzU0MSwicGF0aCI6Ii8xNDM5NjM5ODkvMjY1OTcxNjExLWQyYjkzYmZmLTk1YzYtNGVkZC05M2EyLTA5Yzg2NmE2YWRhZC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNVQwMjM5MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMDFmYTMwYjJiZWUzODljMmE0ZTY5ZWVjNWIxMTU4ZDNmNDA2ZTM0YmE2MzJjN2RhZmQ3Yjc1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