Wrap example sentences

This commit is contained in:
Marvin Elsen 2024-10-17 21:10:27 +02:00
parent 039cb7e0a8
commit 4b84ec5a82
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2

View File

@ -26,6 +26,7 @@ class SentenceCellFactory(private val config: Config) : Callback<ListView<Senten
private class SentenceCell(private val config: Config) : ListCell<SentenceFx?>() {
private val labelSentence = Label().apply {
styleClass.add("sentence")
isWrapText = true
}
private val root = VBox(labelSentence)