diff --git a/plugins/github/src/org/jetbrains/plugins/github/ui/GHHtmlErrorPanel.kt b/plugins/github/src/org/jetbrains/plugins/github/ui/GHHtmlErrorPanel.kt index aed0a53c3eb3..db0426ea24d3 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/ui/GHHtmlErrorPanel.kt +++ b/plugins/github/src/org/jetbrains/plugins/github/ui/GHHtmlErrorPanel.kt @@ -87,7 +87,7 @@ object GHHtmlErrorPanel { pane.setBody("") } // JDK bug - need to force height recalculation (see JBR-2256) - pane.setSize(pane.width, Int.MAX_VALUE / 2) + pane.setSize(Int.MAX_VALUE / 2, Int.MAX_VALUE / 2) } //language=HTML