xLightsSequencer / xLights

xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
GNU General Public License v3.0
530 stars 197 forks source link

4K Monitor GUI Issues #4563

Open jholmes09 opened 1 month ago

jholmes09 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

Are you on Mac or Windows?

AzGilrock commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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