geebee Posted April 21, 2017 Share Posted April 21, 2017 Hi guys, Does anyone use osbot on a 4k monitor and know how to fix the dpi scaling? The client is unusable in 4k due to text and buttons being distorted. Quote Link to comment Share on other sites More sharing options...
Apaec Posted April 21, 2017 Share Posted April 21, 2017 I have the same problem on my Surface Pro 4 - although it's not 4k it's 2736x1824 I think the issue is that Swing claims to be DPI-aware to windows and hence windows doesn't scale the display, when in-fact Swing is not DPI-aware. This means that any Swing application that you run will be unscaled - since OSBot uses Swing, the issue is present. In terms of a fix, i'm not really sure. You could adjust your resolution, but that's a bit hacky and a pain. Other than that, there's not alot you can do without modifying a java install which is again a big pain. More info here: https://superuser.com/questions/988379/how-do-i-run-java-apps-upscaled-on-a-high-dpi-display -Apa 2 Quote Link to comment Share on other sites More sharing options...
Void Posted April 21, 2017 Share Posted April 21, 2017 If I ever want to run OSBot on my home PC I just scale down to 1080p and the client size is fine; however it is pretty un-usable in 4k. Quote Link to comment Share on other sites More sharing options...