From: Ben Soares Date: Mon, 20 Feb 2023 23:04:09 +0000 (+0000) Subject: JAL-3416 Turn off (partial) flatlaf scaling for HiDPI in Linux and Java 8 - Some... X-Git-Tag: Release_2_11_3_0~21 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f5b4426851a1950286204b97e488f205d1573c10;p=jalview.git JAL-3416 Turn off (partial) flatlaf scaling for HiDPI in Linux and Java 8 - Some GUI parts unusable --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index cb078b8..c6aaaef 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -324,6 +324,11 @@ public class Jalview System.out.println("Launcher version: " + val); } + if (Platform.isLinux() && LaunchUtils.getJavaVersion() < 11) + { + System.setProperty("flatlaf.uiScale", "1"); + } + // report Jalview version Cache.loadBuildProperties(true);