IDEA-149312 Unstable width of "Preferences" window

This commit is contained in:
Vassiliy.Kudryashov
2015-12-15 20:57:20 +03:00
parent 7a11d414a3
commit 4b543465bd
@@ -267,6 +267,7 @@ public class JBLabel extends JLabel implements AnchorableComponent {
checkMultiline();
myEditorPane.setCaretPosition(0);
UIUtil.putClientProperty(myEditorPane, UIUtil.NOT_IN_HIERARCHY_COMPONENTS, Collections.singleton(ellipsisLabel));
myEditorPane.setEditorKit(UIUtil.getHTMLEditorKit());
updateStyle(myEditorPane);
updateLayout();
} else {