From: Ben Soares Date: Tue, 5 Oct 2021 17:53:16 +0000 (+0100) Subject: JAL-3416 make flat default laf for linux X-Git-Tag: Release_2_11_2_6~44^2~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=038cd8338ccca1cec7e00979f796740add7c4aed;p=jalview.git JAL-3416 make flat default laf for linux --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index d927275..08a8c5b 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -941,7 +941,7 @@ public class Jalview setSystemLookAndFeel(); if (Platform.isLinux()) { - setMetalLookAndFeel(); + setFlatLookAndFeel(); } if (Platform.isMac()) { @@ -1038,7 +1038,7 @@ public class Jalview UIManager.put("TabbedPane.showTabSeparators", true); UIManager.put("TabbedPane.tabSeparatorsFullHeight", true); UIManager.put("TabbedPane.tabsOverlapBorder", true); - UIManager.put("TabbedPane.hasFullBorder", true); + //UIManager.put("TabbedPane.hasFullBorder", true); UIManager.put("TabbedPane.tabLayoutPolicy", "scroll"); UIManager.put("TabbedPane.scrollButtonsPolicy", "asNeeded"); UIManager.put("TabbedPane.smoothScrolling", true);