posted 3 years ago
Update on this one.
UI Scaling seems to simply not work on macOS in particular. The code posted above does work in Linux, which was my biggest issue. I am still trying to get this to work in macOS simply to give users an additional feature, though.
In Windows and Linux, adding this in the beginning of the main method will change the scaling appropriately, pulling from my program's options:
However this is ignored in macOS. It was suggested elsewhere online that I try each of the below, but neither of these work either:
and conversely
After doing some digging, I found that macOS handles its own scaling, which actually seems to cancel out any changes that I make to the scaling. Is there any way to turn off the macOS scaling through VM options? If it's not possible, this option might simply not be available for mac users, but I would like to provide it for everyone.
Also, thank you for the help so far, it steered me in the direction I needed! ^^