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

4K Monitor GUI Issues #4563

Open
jholmes09 opened this issue May 15, 2024 · 6 comments
Open

4K Monitor GUI Issues #4563

jholmes09 opened this issue May 15, 2024 · 6 comments
Labels

Comments

@jholmes09
Copy link

Describe the bug
I use a 4K monitor and I find that buttons or text data will be too small, cut-off, or squished.
Good example is in the new Moving Head effect.

image

To Reproduce
Open xLights 2024.10 on a computer with a 4K monitor.
These are my display settings:

image

Expected behavior
Graphics, text, and buttons scaled appropriately to be usable.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):
Windows 11
xLights 2022.14

@AzGilrock
Copy link
Collaborator

How does it look at 100% scaling?

I'm developing on a 5K monitor so all the screenshots you see in the Moving Head Discussion page were done on my setup.

I'm not an expert on how to deal with that scaling mess Dan usually does that.

@computergeek1507
Copy link
Member

Are you on Mac or Windows?

@AzGilrock
Copy link
Collaborator

You know I did see this tiny button issue last weekend when I borrowed a laptop to teach at the Minnesota Mini. Its like every issue posted I'm saying to myself "yeah, yeah, tell me something I don't already know....lol"

@dkulp
Copy link
Member

dkulp commented May 15, 2024

I'm not an expert on how to deal with that scaling mess Dan usually does that.

That was back when I had an Intel Mac and could at least test/fix various Windows scaling issues. With the transition to M1/2, I can no longer build/run/test windows versions so dealing with Windows issues is "not my problem". Now, people should just realize everything is going to be better on a Mac. :)

That said, the issue is that you are setting hard sizes for those buttons in wxsmith. You cannot do that as those are really hard sizes and don't scale. Leave them as default size and let the layouts do their thing. If you do need hard sizes, make sure the "Use dialog units" is checked.

@AzGilrock
Copy link
Collaborator

Yeah I really don't recall specifying a size. I usually will copy buttons from other dialogs so I may have inherited the settings.

@derwin12
Copy link
Collaborator

Guys .. is this what the DPI() call is for?

@cybercop23 cybercop23 added the GUI label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants