mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-179837 ListPopupImpl has wrong top/bottom color in IntelliJ theme
This commit is contained in:
@@ -74,6 +74,8 @@ public class HidpiInfo extends AnAction implements DumbAware {
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
popup.getList().setBackground(UIManager.getColor("Panel.background"));
|
||||
popup.getList().setSelectionModel(new DefaultListSelectionModel() {
|
||||
@Override
|
||||
public boolean isSelectedIndex(int i) {
|
||||
|
||||
@@ -1587,7 +1587,7 @@ public class UIUtil {
|
||||
}
|
||||
|
||||
public static Insets getListViewportPadding() {
|
||||
return isUnderNativeMacLookAndFeel() ? new Insets(1, 0, 1, 0) : new Insets(5, 5, 5, 5);
|
||||
return isUnderNativeMacLookAndFeel() ? JBUI.insets(1, 0, 1, 0) : JBUI.insets(5, 5, 5, 5);
|
||||
}
|
||||
|
||||
public static boolean isToUseDottedCellBorder() {
|
||||
|
||||
Reference in New Issue
Block a user