diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hints/settings/language/SingleLanguageInlayHintsSettingsPanel.kt b/platform/lang-impl/src/com/intellij/codeInsight/hints/settings/language/SingleLanguageInlayHintsSettingsPanel.kt index fe2ecbe4abb6..0c17fd2dba6c 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hints/settings/language/SingleLanguageInlayHintsSettingsPanel.kt +++ b/platform/lang-impl/src/com/intellij/codeInsight/hints/settings/language/SingleLanguageInlayHintsSettingsPanel.kt @@ -44,8 +44,13 @@ class SingleLanguageInlayHintsSettingsPanel( private val myProviderList = createList() private var myCurrentProvider = selectLastViewedProvider() private val myEditorTextField = createEditor() - private val myCurrentProviderCustomSettingsPane = JBScrollPane().also { it.border = null } - private val myCurrentProviderCasesPane = JBScrollPane().also { it.border = null } + private val myCurrentProviderCustomSettingsPane = JBScrollPane().also { + it.border = null + } + private val myCurrentProviderCasesPane = JBScrollPane().also { + it.border = null + it.verticalScrollBarPolicy = ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER + } private val myBottomPanel = createBottomPanel() private var myCasesPanel: CasesPanel? = null private val myRightPanel: JPanel = JPanel()