Update JavaFX version to 23
All checks were successful
Pull Request / build (pull_request) Successful in 3m26s

This commit is contained in:
Marvin Elsen 2024-09-25 23:42:14 +02:00
parent 231b4eb0fe
commit 49fe0f65bd
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2
6 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
kotlin = "2.0.20" kotlin = "2.0.20"
detekt = "1.23.7" detekt = "1.23.7"
jfx-plugin = "0.1.0" jfx-plugin = "0.1.0"
javafx = "22.0.1" javafx = "23"
kotest = "5.9.1" kotest = "5.9.1"

View File

@ -0,0 +1,3 @@
package com.marvinelsen.willow.tatoeba
data class TatoebaSentence(val traditional: String)

View File

@ -5,7 +5,7 @@
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<?import javafx.scene.web.WebView?> <?import javafx.scene.web.WebView?>
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<VBox xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" <VBox xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.marvinelsen.willow.ui.controllers.DetailsController" fx:controller="com.marvinelsen.willow.ui.controllers.DetailsController"
stylesheets="/css/details.css"> stylesheets="/css/details.css">
<Label fx:id="labelHeadword" styleClass="headword" text="Label"> <Label fx:id="labelHeadword" styleClass="headword" text="Label">

View File

@ -7,7 +7,7 @@
<?import javafx.scene.control.ProgressIndicator?> <?import javafx.scene.control.ProgressIndicator?>
<?import javafx.scene.control.SplitPane?> <?import javafx.scene.control.SplitPane?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<BorderPane xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" <BorderPane xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.marvinelsen.willow.ui.controllers.MainController" fx:controller="com.marvinelsen.willow.ui.controllers.MainController"
stylesheets="/css/main.css"> stylesheets="/css/main.css">
<top> <top>

View File

@ -3,7 +3,7 @@
<?import javafx.scene.control.*?> <?import javafx.scene.control.*?>
<?import javafx.scene.input.KeyCodeCombination?> <?import javafx.scene.input.KeyCodeCombination?>
<?import javafx.scene.layout.BorderPane?> <?import javafx.scene.layout.BorderPane?>
<MenuBar xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" <MenuBar xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.marvinelsen.willow.ui.controllers.MenuController" BorderPane.alignment="CENTER" fx:controller="com.marvinelsen.willow.ui.controllers.MenuController" BorderPane.alignment="CENTER"
useSystemMenuBar="true"> useSystemMenuBar="true">
<Menu text="%menubar.file"> <Menu text="%menubar.file">

View File

@ -5,7 +5,7 @@
<?import javafx.scene.layout.FlowPane?> <?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<VBox xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" <VBox xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.marvinelsen.willow.ui.controllers.SearchController" spacing="8"> fx:controller="com.marvinelsen.willow.ui.controllers.SearchController" spacing="8">
<TextField fx:id="textFieldSearch" promptText="%search.prompt" HBox.hgrow="ALWAYS"/> <TextField fx:id="textFieldSearch" promptText="%search.prompt" HBox.hgrow="ALWAYS"/>
<FlowPane hgap="8.0" vgap="8.0"> <FlowPane hgap="8.0" vgap="8.0">