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

Tk window is very small on high-pixel monitors #820

Open
Debilski opened this issue Aug 14, 2024 · 4 comments
Open

Tk window is very small on high-pixel monitors #820

Debilski opened this issue Aug 14, 2024 · 4 comments

Comments

@Debilski
Copy link
Member

Debilski commented Aug 14, 2024

It does not matter, which scale factor I choose, the real size stays the same. (Fedora 40)

Screenshot from 2024-08-14 19-50-26

@otizonaizit
Copy link
Member

otizonaizit commented Aug 14, 2024 via email

@Debilski
Copy link
Member Author

That we don’t have proper font scaling inside Tk is a different issue. (Or rather, we have font scaling but it is somewhat relative to the available space.)

But the Gnome setting should indeed scale everything. (There is a hidden setting for the Gnome font sizes that is different from the scaling.)

@otizonaizit
Copy link
Member

otizonaizit commented Aug 14, 2024 via email

@Debilski
Copy link
Member Author

Debilski commented Aug 14, 2024

So we can define fonts also as proportion of the available screen estate.

Kind of, yeah

https://github.com/ASPP/pelita/blob/771f92888cd9a1086c55c1f4685d2094729db07e/pelita/ui/tk_canvas.py#L46..L56

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