Configure correct cell factory for words containing list

This commit is contained in:
Marvin Elsen 2024-09-21 20:10:44 +02:00
parent a88b4d409d
commit 30f88c9e3e
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import com.marvinelsen.willow.ui.cells.DictionaryEntryCellFactory?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.web.WebView?>
@ -21,7 +22,11 @@
<ListView fx:id="listviewSentences"/>
</Tab>
<Tab id="tabWords" closable="false" disable="false" text="%tab.words">
<ListView fx:id="listViewWords"/>
<ListView fx:id="listViewWords">
<cellFactory>
<DictionaryEntryCellFactory/>
</cellFactory>
</ListView>
</Tab>
<Tab closable="false" disable="false" text="%tab.characters">
<ListView fx:id="listViewCharacters"/>