diff --git a/platform/lang-impl/src/com/intellij/find/SearchTextArea.java b/platform/lang-impl/src/com/intellij/find/SearchTextArea.java index 6f1cd69f3752..542ae28acdfa 100644 --- a/platform/lang-impl/src/com/intellij/find/SearchTextArea.java +++ b/platform/lang-impl/src/com/intellij/find/SearchTextArea.java @@ -234,6 +234,8 @@ public class SearchTextArea extends NonOpaquePanel implements PropertyChangeList myIconsPanel.add(myNewLineButton); } myIconsPanel.setBorder(myHelper.getIconsPanelBorder(rows)); + myIconsPanel.revalidate(); + myIconsPanel.repaint(); myScrollPane.setHorizontalScrollBarPolicy(multiline ? HORIZONTAL_SCROLLBAR_AS_NEEDED : HORIZONTAL_SCROLLBAR_NEVER); myScrollPane.setVerticalScrollBarPolicy(multiline ? VERTICAL_SCROLLBAR_AS_NEEDED : VERTICAL_SCROLLBAR_NEVER); myScrollPane.revalidate();