I’m trying to run Vassal on a Lenovo Yoga 2 at 3200 x 1800 resolution (native). Vassal is super small and nearly impossible to read.
Is there any way to change Vassal to use the size dictated by the windows API? Menus in things like Word and Firefox are fine, but Vassal is super tiny.
Thus spake dashrender:
[This message has been edited.]
I’m trying to run Vassal on a Lenovo Yoga 2 at 3200 x 1800 resolution
(native). Vassal is super small and nearly impossible to read.
Is there any way to change Vassal to use the size dictated by the
windows API? Menus in things like Word and Firefox are fine, but Vassal
is super tiny.
The problem is that we’re not using the “system” LookAndFeel for Swing
on Windows, which causes the system DPI not to be picked up by Swing.
IIRC, the reason for our choice is that the on Windows, using the system
LaF introduces other problems—or at least did when I looked into this
We can check on it again, but I wouldn’t be surprised to find the same
problems as before.
What results do you get if you install the “generic” bundle (downloads.sourceforge.net/vassal … -other.zip), add “-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel” as an argument to javaw on line 5 of VASSAL.bat, and then launch from VASSAL.bat?
Hallo! I try “-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel”. It helps just to run Vassal. When I open module (Summoner Wars) it still use tiny fonts (Lenovo T540p, 2880×1620, 15+ inches).
So, this is an old thread but is the first result when searching vassal high resolution. I wanted to note I found a better fix for this issue using Oracles documentation about swing and HiDPI devices. It’d be great if Vassal detected and supported it automatically, but the fix is relatively simple:
Create an empty text file on your desktop called “swing.properties”
Open it with notepad.
Paste in the following lines and save the file:
# Swing properties
Copy this file into your JRE’s lib folder. For me this was:
C:\Program Files (x86)\Java\jre1.8.0_51\lib
Now when you run Vassal (or its modules, or other swing applications) it will set that parameter and scale properly. Note I haven’t extensively tested this, but in the a couple modules I checked the vast majority of windows, buttons, etc were scaled to a usable size. A few, for some reason, were not but its much more playable this way.
Tried dracflamloc 's fix but it doesn’t seem to to work on my windows 10 computer. Is there any way to fix this as of now? Vassal is amazing. It’s incredible that so much time has been devoted to this project. However, with the growing market for 4k tvs and video cards it seems like this is a pretty serious problem.
I’ve been trying to determine what precisely the problems were that we had with the WindowsLookAndFeel which made me disable it in trunk@8079 on 13 February 2012—but I’m turning up nothing. Does anyone remember this? (Brent, maybe?)
Ok, you can also create the write file type using Eclipse. However, I have placed the swing.properties file in all possible lib folders related to Java - both jdk and jre folders - but I still have Vassal with tiny text. Any ideas?
I love vassal but have the same trouble
I’ve use the fixe - It work a bit on my surfaceBook : the GUI is bigger but not big enougth to be readable without my glasses.
Tks for help