mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(IJPL-61965) Update results notification text padding
GitOrigin-RevId: ed258548cdd488e1d1b967cc7c62315604e5ec49
This commit is contained in:
committed by
intellij-monorepo-bot
parent
195dc3dd76
commit
c15b293135
+1
-6
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user