mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added more items in LcrSeparatorPanel of UI Sandbox
GitOrigin-RevId: bd141a3ce4d366a0c7ff101eed9904f08015634a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1811181dc1
commit
fc1dd07f7d
+6
-3
@@ -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<String> = 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 {
|
||||
|
||||
Reference in New Issue
Block a user