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

HiDPI scaling move parts of the UI outside the window #39

Open
sigurg opened this issue Jun 17, 2023 · 1 comment
Open

HiDPI scaling move parts of the UI outside the window #39

sigurg opened this issue Jun 17, 2023 · 1 comment

Comments

@sigurg
Copy link
Contributor

sigurg commented Jun 17, 2023

Hi Arne,
I noticed an issue with HiDPI scaling on Linux.
When the GDK_DPI_SCALE environment variable is set (in my case to 1.25), the UI is scaled up, but window size does not change accordingly, which moves part of the UI outside of the visible window area. This makes it impossible to click the start button, since the window cannot be resized:
scaling-issue

A quick workaround would be to add unset GDK_DPI_SCALE to the start script.
This would make the gamecontroller usable, but is obviously not ideal, since the UI will not be scaled and could end up rather small.

Best,
Jens

@jayenashar
Copy link
Collaborator

i think the user should not be prevented from resizing the window. i've added some text which will cause the content to be of a dynamic height.

another workaround would be to allow scrolling. not ideal but i think better than unsetting GDK_DPI_SCALE.

for now, you can try using the tab key to get to the start button. of course that requires you to know how many times to press tab.

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

2 participants