From f5b4426851a1950286204b97e488f205d1573c10 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 20 Feb 2023 23:04:09 +0000 Subject: [PATCH] JAL-3416 Turn off (partial) flatlaf scaling for HiDPI in Linux and Java 8 - Some GUI parts unusable --- src/jalview/bin/Jalview.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 1.7.10.2