From dcad2f2248f4b1c998ef26c58560c01727eb6d4a Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 18 Feb 2011 18:44:17 +0100 Subject: [PATCH] more spacing at the bottom --- .../src/com/intellij/codeInsight/lookup/impl/LookupImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java index 3eb3cf6fb80b..ca3956129aee 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java @@ -1246,7 +1246,7 @@ public class LookupImpl extends LightweightHint implements Lookup, Disposable { if (items.size() > maxAutopopupItems) { final String ctrlSpace = KeymapUtil.getFirstKeyboardShortcutText(ActionManager.getInstance().getAction(IdeActions.ACTION_CODE_COMPLETION)); if (StringUtil.isNotEmpty(ctrlSpace)) { - final String moreText = ctrlSpace + " for more"; + final String moreText = ctrlSpace + " for more "; final JLabel moreLabel = new JLabel(moreText); moreLabel.setFont(moreLabel.getFont().deriveFont(Font.PLAIN, editorFont.getSize())); ad.add(moreLabel, BorderLayout.WEST); @@ -1256,7 +1256,7 @@ public class LookupImpl extends LightweightHint implements Lookup, Disposable { final String tab = KeymapUtil.getFirstKeyboardShortcutText(ActionManager.getInstance().getAction(IdeActions.ACTION_CHOOSE_LOOKUP_ITEM_REPLACE)); if (StringUtil.isNotEmpty(tab)) { final String enter = KeymapUtil.getFirstKeyboardShortcutText(ActionManager.getInstance().getAction(IdeActions.ACTION_CHOOSE_LOOKUP_ITEM)); - String message = tab + (isFocused() ? ", " + enter : "") + " for the first item"; + String message = " " + tab + (isFocused() ? ", " + enter : "") + " for the first item"; final JLabel fstLabel = new JLabel(message); fstLabel.setFont(fstLabel.getFont().deriveFont(Font.PLAIN, editorFont.getSize())); ad.add(fstLabel, BorderLayout.EAST);