git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b26bea3
)
JAL-3416 Turn off (partial) flatlaf scaling for HiDPI in Linux and Java 8 - Some...
author
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 20 Feb 2023 23:04:09 +0000
(23:04 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 20 Feb 2023 23:04:09 +0000
(23:04 +0000)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
cb078b8
..
c6aaaef
100755
(executable)
--- 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);