Test to change component to JFoenix

This commit is contained in:
Marco Kühn 2022-01-14 21:22:50 +01:00
parent 3fe16186e2
commit 0924625a0e
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package main;
import com.jfoenix.controls.JFXTextField;
import com.jfoenix.controls.JFXTimePicker;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
@ -23,7 +24,7 @@ public class CreateEventController {
@FXML
public DatePicker datePickerDate;
@FXML
public TextField textName;
public JFXTextField textName;
@FXML
public ComboBox<String> ComboBoxPriotity;
@FXML

View File

@ -5,6 +5,7 @@
<?import javafx.collections.FXCollections?>
<?import java.lang.String?>
<?import com.jfoenix.controls.JFXTextField?>
<GridPane fx:id="mainGrid" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="main.CreateEventController">
@ -36,7 +37,7 @@
<Label styleClass="inputLabel" GridPane.rowIndex="6">Ganztägig:</Label>
<Label styleClass="inputLabel" GridPane.rowIndex="7">Privat:</Label>
<TextField fx:id="textName" GridPane.columnIndex="1" GridPane.rowIndex="1" maxWidth="400" minWidth="400"/>
<JFXTextField fx:id="textName" GridPane.columnIndex="1" GridPane.rowIndex="1" maxWidth="400" minWidth="400"/>
<DatePicker fx:id="datePickerDate" GridPane.columnIndex="1" GridPane.rowIndex="2" maxWidth="200" minWidth="200"/>
<ComboBox fx:id="ComboBoxPriotity" GridPane.columnIndex="1" GridPane.rowIndex="5" maxWidth="200" minWidth="200">