Closed joepal1976 closed 4 years ago
That's probably a quick workaround for some problems, but IMHO not the best solution. Personally I think it would be better to move the settings stuff to a python module which gets imported and run in the early stages of makehuman.py and then being handed over as an parameter to the MHApplication class. But separating out the Qt stuff from the settings functions is a bit cumbersome.
@Aranuvir I hear you, and that makes sense.
I'm going to merge this for now, and we can see to refactoring the code so that config happens before the application start at some point down the line.
Here I've introduced an early configuration sweep in order to be able so set the QT_AUTO_SCREEN_SCALE_FACTOR before the Qt application launches.
@dennj can you check if this works for you on your monitor?
@rwbaer can you check that it doesn't cause trouble on your dual monitor setup?