A correct name for settings text padding. Allow to set alignment of a text fragment.
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / keymap / impl / IdeKeyEventDispatcher.java
index ff2820a5cc90c03637a7481d364d065bc8c9f816..bd40c3ad3c9783ee4fd17b47e20c855f5a6cee49 100644 (file)
@@ -898,7 +898,7 @@ public final class IdeKeyEventDispatcher implements Disposable {
         if (value instanceof Pair) {
           final Pair<AnAction, KeyStroke> pair = (Pair<AnAction, KeyStroke>) value;
           append(KeymapUtil.getShortcutText(new KeyboardShortcut(pair.getSecond(), null)), SimpleTextAttributes.GRAY_ATTRIBUTES);
-          appendFixedTextFragmentWidth(30);
+          appendTextPadding(30);
           final String text = pair.getFirst().getTemplatePresentation().getText();
           append(text, SimpleTextAttributes.REGULAR_ATTRIBUTES);
         }