diff --git a/platform/platform-impl/internal/src/com/intellij/internal/ui/sandbox/dsl/listCellRenderer/LcrSeparatorPanel.kt b/platform/platform-impl/internal/src/com/intellij/internal/ui/sandbox/dsl/listCellRenderer/LcrSeparatorPanel.kt index 3207d09518d8..fdc8d06f2d15 100644 --- a/platform/platform-impl/internal/src/com/intellij/internal/ui/sandbox/dsl/listCellRenderer/LcrSeparatorPanel.kt +++ b/platform/platform-impl/internal/src/com/intellij/internal/ui/sandbox/dsl/listCellRenderer/LcrSeparatorPanel.kt @@ -17,9 +17,12 @@ import javax.swing.Icon import javax.swing.JComponent import javax.swing.ListCellRenderer -private val items = listOf("The first group", "Item 1", "Item 2", - "Another Item 1", "Another Item 2", - "Group Item 1", "Group Item 2") +private val items: List = mutableListOf("The first group", "Item 1", "Item 2", + "Another Item 1", "Another Item 2", + "Group Item 1").apply { + addAll((2..20).map { "Group Item $it" }) +} + private val separators = mapOf("The first group" to "The first", "Another Item 1" to "", "Group Item 1" to "Group") internal class LcrSeparatorPanel : UISandboxPanel {