From: gmungoc Date: Fri, 26 Apr 2019 09:17:09 +0000 (+0100) Subject: JAL-3010 borderless 'x' for "delete this filter condition" X-Git-Tag: Release_2_11_4_0~45^2~18^2~135 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=370ddb214bd5c3fb7bd5ae9e68be1a0db45e263c;p=jalview.git JAL-3010 borderless 'x' for "delete this filter condition" --- diff --git a/src/jalview/gui/FeatureTypeSettings.java b/src/jalview/gui/FeatureTypeSettings.java index 9ff51a8..735e514 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -63,6 +63,7 @@ import javax.swing.JPanel; import javax.swing.JRadioButton; import javax.swing.JSlider; import javax.swing.JTextField; +import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; @@ -1442,6 +1443,8 @@ public class FeatureTypeSettings extends JalviewDialog || (pattern != null && pattern.trim().length() > 0)) { JButton removeCondition = new JButton("\u2717"); // Dingbats cursive x + removeCondition.setBorder(new EmptyBorder(0, 0, 0, 0)); + removeCondition.setBackground(Color.WHITE); removeCondition.setPreferredSize(new Dimension(23, 17)); removeCondition .setToolTipText(MessageManager.getString("label.delete_row"));