From c15b293135459eb0cb1be1fe78ef080cabead0db Mon Sep 17 00:00:00 2001 From: Evgeny Abramov Date: Wed, 19 Jun 2024 14:55:01 +0300 Subject: [PATCH] (IJPL-61965) Update results notification text padding GitOrigin-RevId: ed258548cdd488e1d1b967cc7c62315604e5ec49 --- .../ide/actions/searcheverywhere/SEResultsListFactory.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SEResultsListFactory.java b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SEResultsListFactory.java index 4cff8b8aebe9..fed060807359 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SEResultsListFactory.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SEResultsListFactory.java @@ -64,11 +64,6 @@ abstract class SEResultsListFactory { @ApiStatus.Experimental protected static final ListCellRenderer 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); } };