From cf9dc657fc84e5f1da5e93cc1b399cbf00f76bfe Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 29 Apr 2015 19:36:15 +0300 Subject: [PATCH] IDEA-131846 User font size may be too big for some controls (Watches, Evaluate, Inspect...) --- .../intellij/xdebugger/impl/ui/XDebuggerExpressionComboBox.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerExpressionComboBox.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerExpressionComboBox.java index 33581305e6ee..528d49d7dc53 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerExpressionComboBox.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerExpressionComboBox.java @@ -103,6 +103,7 @@ public class XDebuggerExpressionComboBox extends XDebuggerEditorBase { @Override protected void onEditorCreate(EditorEx editor) { editor.putUserData(DebuggerCopyPastePreprocessor.REMOVE_NEWLINES_ON_PASTE, true); + editor.getColorsScheme().setEditorFontSize(myComboBox.getFont().getSize()); } }; myEditor.getEditorComponent().setFontInheritedFromLAF(false);