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

No UI scale on Linux #122

Open
lzk228 opened this issue Dec 24, 2023 · 4 comments
Open

No UI scale on Linux #122

lzk228 opened this issue Dec 24, 2023 · 4 comments

Comments

@lzk228
Copy link
Contributor

lzk228 commented Dec 24, 2023

No description provided.

@PJB3005
Copy link
Member

PJB3005 commented Dec 24, 2023

Is this about changing the in-game UI scale in case somebody breaks it? Or is this for changing the UI scale of the launcher itself?

@lzk228
Copy link
Contributor Author

lzk228 commented Dec 24, 2023

for launcher itself, because buttons are too small
image
i think if someone playing on 4k monitors its even worse looking

@PJB3005
Copy link
Member

PJB3005 commented Dec 24, 2023

Yeah that's just a Linux-specific issue with it not supporting proper DPI scaling (and now that Wayland finally does, Avalonia doesn't support it yet). On a competent OS this works fine.

@PJB3005 PJB3005 changed the title should be UI scale in settings No UI scale on Linux Dec 24, 2023
@simplepad
Copy link

Workaround described here: https://github.com/AvaloniaUI/Avalonia/wiki/Configuring-X11-per-monitor-DPI

Basically, put something like
AVALONIA_SCREEN_SCALE_FACTORS='eDP-1=2' %command%
in your launch options on steam, except replace eDP-1 with the name of your monitor (can be obtained using xrandr --listactivemonitors). Adjust the number after the equals sign to your prefered scaling factor. This works for me on gnome wayland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants