iTrace-Dev / iTrace

Infrastructure supporting implicit eye tracking on software artifacts within the IDE and browser.
http://www.i-trace.org
2 stars 0 forks source link

Fix scaling issues on hi res screens. #73

Closed onebenclark closed 6 years ago

onebenclark commented 8 years ago

Some of our windows aren't being scaled properly on hi res screens. We need to modify these so that they are displayed properly.

onebenclark commented 7 years ago

To work around this, keep dpi at 100%

ZHarnett commented 7 years ago

A workaround to swing not scaling is to take the resolution of the screen and just setting the size of objects to whatever percentage you want. A problem I encountered with this is the font doesn't scale with the size so you will have to manually set every element to this size.

onebenclark commented 7 years ago

I read somewhere that the Swing scaling issues will be fixed with Java 9. I cannot find it now though.