(IJPL-61965) Update results notification text padding

GitOrigin-RevId: ed258548cdd488e1d1b967cc7c62315604e5ec49
This commit is contained in:
Evgeny Abramov
2024-06-19 14:40:54 +00:00
committed by intellij-monorepo-bot
parent 195dc3dd76
commit c15b293135
@@ -64,11 +64,6 @@ abstract class SEResultsListFactory {
@ApiStatus.Experimental
protected static final ListCellRenderer<Object> resultsNotificationElementRenderer = new ColoredListCellRenderer<>() {
@Override
protected int getMinHeight() {
return 2 * super.getMinHeight();
}
@Override
protected void customizeCellRenderer(@NotNull JList<?> list, Object value, int index, boolean selected, boolean hasFocus) {
clear();
@@ -79,7 +74,7 @@ abstract class SEResultsListFactory {
setFont(StartupUiUtil.getLabelFont().deriveFont(UIUtil.getFontSize(UIUtil.FontSize.NORMAL)));
append(((SearchListModel.ResultsNotificationElement)value).label(), new SimpleTextAttributes(
SimpleTextAttributes.STYLE_PLAIN, UIUtil.getLabelInfoForeground()));
setIpad(JBInsets.create(4, 17));
setIpad(JBUI.insets(9, 17, 12, 0));
setMyBorder(null);
}
};