From cc3fe5662121a8f78559bb88325fa969c83f3714 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 18 Aug 2014 07:44:24 +0000 Subject: [PATCH] * fix all other LaFs --- source/net/filebot/ui/SelectButtonTextField.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/ui/SelectButtonTextField.java b/source/net/filebot/ui/SelectButtonTextField.java index cf6777ef..0e616242 100644 --- a/source/net/filebot/ui/SelectButtonTextField.java +++ b/source/net/filebot/ui/SelectButtonTextField.java @@ -31,6 +31,7 @@ import javax.swing.plaf.basic.ComboPopup; import javax.swing.text.JTextComponent; import net.filebot.ResourceManager; +import net.filebot.Settings; import net.filebot.util.ui.SelectButton; import net.filebot.util.ui.SwingUI; import net.miginfocom.swing.MigLayout; @@ -137,9 +138,14 @@ public class SelectButtonTextField extends JComponent { arrowButton.setBackground(Color.white); arrowButton.setOpaque(true); arrowButton.setBorder(createEmptyBorder()); - arrowButton.setContentAreaFilled(true); + arrowButton.setContentAreaFilled(false); arrowButton.setFocusPainted(false); arrowButton.setFocusable(false); + + // fix Aqua UI + if (Settings.isMacApp()) { + arrowButton.setContentAreaFilled(true); + } } @Override