wechseln zwischen Masken.

This commit is contained in:
SvenAlte
2023-12-09 15:56:47 +01:00
parent 3614743795
commit 9b15191da6
10 changed files with 159 additions and 68 deletions

View File

@@ -15,7 +15,7 @@
<top>
<BorderPane styleClass="kopfzeile">
<right>
<Button text="Abmelden"/>
<Button text="Abmelden" onAction="#onAbmelden"/>
</right>
</BorderPane>
</top>

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.control.Button?>
<VBox alignment="CENTER" spacing="20.0" xmlns:fx="http://javafx.com/fxml"
fx:controller="de.subway_surfers.vpr_app.HelloController">
<padding>
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
</padding>
<Label fx:id="welcomeText"/>
<Button text="Hello!" onAction="#onHelloButtonClick"/>
</VBox>

View File

@@ -53,11 +53,11 @@
-fx-padding: 20;
}
.login_ueberschrift{
-fx-margin: 100 0 0 0;
.ueberschrift {
-fx-alignment: center;
}
.login_ueberschrift .label {
.ueberschrift > .label{
-fx-font-size: 30;
}
}

View File

@@ -8,20 +8,20 @@
<BorderPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="de.subway_surfers.vpr_app.LoginView"
fx:controller="de.subway_surfers.vpr_app.VerwaltungController"
prefHeight="400.0" prefWidth="600.0"
stylesheets="@layout.css" styleClass="login">
stylesheets="@layout.css" styleClass="login aussen">
<center>
<GridPane styleClass="login_eingabe">
<HBox GridPane.columnSpan="2" styleClass="login_ueberschrift">
<Label text="Anmelden"/>
<HBox GridPane.columnSpan="2" styleClass="ueberschrift">
<Label text="Anmelden" styleClass="label"/>
</HBox>
<Label text="Benutzername" GridPane.rowIndex="1" GridPane.columnIndex="0"/>
<TextField GridPane.rowIndex="1" GridPane.columnIndex="1"/>
<Label text="Passwort" GridPane.rowIndex="2" GridPane.columnIndex="0"/>
<TextField GridPane.rowIndex="2" GridPane.columnIndex="1"/>
<PasswordField GridPane.rowIndex="2" GridPane.columnIndex="1"/>
<CheckBox text="Kennwort merken" GridPane.rowIndex="3" GridPane.columnIndex="0"/>
</GridPane>
@@ -31,7 +31,7 @@
<BorderPane>
<right>
<VBox styleClass="login_btn_anmelden">
<Button text="Anmelden" />
<Button text="Anmelden" onAction="#onAnmeldenClick"/>
</VBox>
</right>