1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* fix UI for OSX LaF

This commit is contained in:
Reinhard Pointner 2014-08-18 07:36:47 +00:00
parent 3528f47a09
commit c90c4b169c

View File

@ -1,5 +1,8 @@
package net.filebot.ui;
import static javax.swing.BorderFactory.*;
import java.awt.Color;
import java.awt.Component;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
@ -131,7 +134,11 @@ public class SelectButtonTextField<T> extends JComponent {
public void configureArrowButton() {
super.configureArrowButton();
arrowButton.setContentAreaFilled(false);
arrowButton.setBackground(Color.white);
arrowButton.setOpaque(true);
arrowButton.setBorder(createEmptyBorder());
arrowButton.setContentAreaFilled(true);
arrowButton.setFocusPainted(false);
arrowButton.setFocusable(false);
}