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

[Bug] The UIs are very small on 4k resolution #669

Open
PeharD opened this issue Nov 9, 2024 · 2 comments
Open

[Bug] The UIs are very small on 4k resolution #669

PeharD opened this issue Nov 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@PeharD
Copy link

PeharD commented Nov 9, 2024

Describe the bug
The menus, progressbar and skill check are super tiny on 4k moitors. Text in Menus is so small i ahve to get real close to my monitor to read them.

To Reproduce
Steps to reproduce the behavior:

  1. Have a 4k monitor
  2. Install ox_lib
  3. use a menu, progressbar or skillscheck

Expected behavior
It should scale with the resolution of the monitor. So there is no difrence between 1080p, 2k and 4k.

Screenshots
ox_lib

Additional context
None

@PeharD PeharD added the bug Something isn't working label Nov 9, 2024
@LordChunk
Copy link

LordChunk commented Feb 5, 2025

Since ox_lib uses Manite for their components, this could be fixed by increasing the font size for the html tag. Since Manite uses CSS rem units to for their width and height properties.

https://mantine.dev/styles/rem/
https://www.w3schools.com/cssref/css_units.php

@LordChunk
Copy link

LordChunk commented Feb 5, 2025

Did some testing today, but ox_lib seems to hard set most if not all the width properties in pixels (not EM or REM) for their components. So simply changing the font size to for the html tag doesn't work :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants