81 lines
4.2 KiB
XML
81 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.*?>
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
<?import javafx.scene.web.WebView?>
|
|
<VBox stylesheets="/css/details.css" xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
|
|
fx:controller="com.marvinelsen.willow.ui.controllers.DetailsController">
|
|
<FlowPane fx:id="flowPaneHeader" hgap="8.0" vgap="8.0" rowValignment="BASELINE" VBox.vgrow="NEVER"
|
|
onContextMenuRequested="#headerOnContextMenuRequested">
|
|
<padding>
|
|
<Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
|
|
</padding>
|
|
<Label fx:id="labelHeadword" styleClass="headword"/>
|
|
<Label fx:id="labelPronunciation" styleClass="pronunciation"/>
|
|
</FlowPane>
|
|
<TabPane fx:id="tabPaneDetails" tabClosingPolicy="UNAVAILABLE" VBox.vgrow="ALWAYS">
|
|
<Tab closable="false" text="%tab.definition">
|
|
<WebView fx:id="webViewDefinition"/>
|
|
</Tab>
|
|
<Tab id="tabSentences" closable="false" text="%tab.sentences">
|
|
<StackPane>
|
|
<ProgressIndicator fx:id="progressIndicatorSentences" visible="false"/>
|
|
<Label fx:id="labelNoSentencesFound" text="%list.no_sentences_found" textAlignment="CENTER"
|
|
visible="false" wrapText="true">
|
|
<padding>
|
|
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
|
</padding>
|
|
</Label>
|
|
<ListView fx:id="listViewSentences"/>
|
|
</StackPane>
|
|
</Tab>
|
|
<Tab id="tabWords" closable="false" text="%tab.words">
|
|
<VBox maxHeight="1.7976931348623157E308">
|
|
<TitledPane animated="false" maxHeight="-Infinity" text="%list.words_beginning" VBox.vgrow="ALWAYS">
|
|
<StackPane>
|
|
<padding>
|
|
<Insets bottom="0.0" left="0.0" right="0.0" top="0.0"/>
|
|
</padding>
|
|
<ProgressIndicator fx:id="progressIndicatorWordsBeginning" visible="false"/>
|
|
<Label fx:id="labelNoWordsBeginningFound" text="%list.no_words_found" textAlignment="CENTER"
|
|
visible="false" wrapText="true">
|
|
<padding>
|
|
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
|
</padding>
|
|
</Label>
|
|
<ListView fx:id="listViewWordsBeginning" prefHeight="4000"/>
|
|
</StackPane>
|
|
</TitledPane>
|
|
<TitledPane animated="false" maxHeight="-Infinity" text="%list.words_containing" VBox.vgrow="ALWAYS">
|
|
<StackPane>
|
|
<padding>
|
|
<Insets bottom="0.0" left="0.0" right="0.0" top="0.0"/>
|
|
</padding>
|
|
<ProgressIndicator fx:id="progressIndicatorWordsContaining" visible="false"/>
|
|
<Label fx:id="labelNoWordsContainingFound" text="%list.no_words_found" textAlignment="CENTER"
|
|
visible="false" wrapText="true">
|
|
<padding>
|
|
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
|
</padding>
|
|
</Label>
|
|
<ListView fx:id="listViewWordsContaining" prefHeight="4000"/>
|
|
</StackPane>
|
|
</TitledPane>
|
|
</VBox>
|
|
</Tab>
|
|
<Tab fx:id="tabCharacters" id="tabCharacters" closable="false" text="%tab.characters">
|
|
<StackPane>
|
|
<ListView fx:id="listViewCharacters"/>
|
|
<Label fx:id="labelNoCharactersFound" text="%list.no_characters_found" textAlignment="CENTER"
|
|
visible="false" wrapText="true">
|
|
<padding>
|
|
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
|
</padding>
|
|
</Label>
|
|
<ProgressIndicator fx:id="progressIndicatorCharacters" visible="false"/>
|
|
</StackPane>
|
|
</Tab>
|
|
</TabPane>
|
|
</VBox>
|