IDEA-116206

This commit is contained in:
Konstantin Bulenkov
2013-11-09 01:11:37 +01:00
parent 59b556f2ea
commit cd74ff8c41
@@ -561,13 +561,13 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA
final JPanel panel = new JPanel(new BorderLayout()) {
@Override
protected void paintComponent(Graphics g) {
((Graphics2D)g).setPaint(new GradientPaint(0,0, new JBColor(new Color(0x6688f2), new Color(48, 87, 186)), 0, getHeight(),
new JBColor(new Color(0x2d60ee), new Color(43, 80, 172))));
((Graphics2D)g).setPaint(new GradientPaint(0,0, new JBColor(Gray._218, new Color(64, 80, 94)), 0, getHeight(),
new JBColor(Gray._190, new Color(53, 65, 87))));
g.fillRect(0, 0, getWidth(), getHeight());
}
};
final JLabel title = new JLabel(" Search Everywhere:");
title.setForeground(new JBColor(Gray._255, Gray._180));
title.setForeground(new JBColor(Gray._50, Gray._180));
if (SystemInfo.isMac) {
title.setFont(title.getFont().deriveFont(Font.BOLD, title.getFont().getSize() - 1f));
} else {
@@ -673,7 +673,7 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA
getTextEditor().putClientProperty("JTextField.Search.noBorderRing", Boolean.TRUE);
if (UIUtil.isUnderDarcula()) {
getTextEditor().setBackground(Gray._55);
getTextEditor().setBackground(Gray._45);
getTextEditor().setForeground(Gray._240);
}
}