From 4b84ec5a824888c8078529df2c6b9cf212671378 Mon Sep 17 00:00:00 2001 From: Marvin Elsen Date: Thu, 17 Oct 2024 21:10:27 +0200 Subject: [PATCH] Wrap example sentences --- .../com/marvinelsen/willow/ui/cells/SentenceCellFactory.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/marvinelsen/willow/ui/cells/SentenceCellFactory.kt b/src/main/kotlin/com/marvinelsen/willow/ui/cells/SentenceCellFactory.kt index c76bc79..fa09266 100644 --- a/src/main/kotlin/com/marvinelsen/willow/ui/cells/SentenceCellFactory.kt +++ b/src/main/kotlin/com/marvinelsen/willow/ui/cells/SentenceCellFactory.kt @@ -26,6 +26,7 @@ class SentenceCellFactory(private val config: Config) : Callback() { private val labelSentence = Label().apply { styleClass.add("sentence") + isWrapText = true } private val root = VBox(labelSentence)