From 370ddb214bd5c3fb7bd5ae9e68be1a0db45e263c Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 26 Apr 2019 10:17:09 +0100 Subject: [PATCH] JAL-3010 borderless 'x' for "delete this filter condition" --- src/jalview/gui/FeatureTypeSettings.java | 3 +++ 1 file changed, 3 insertions(+) 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")); -- 1.7.10.2