BestelluebersichtMitarbeiter Maske (nicht fertig)

This commit is contained in:
Avapox 2023-12-11 16:03:05 +01:00
parent 4bc951b162
commit d24616fe00
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package de.subway_surfers.vpr_app;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.ListView;
import javafx.scene.control.ScrollPane;
import javafx.scene.layout.AnchorPane;
public class BestelluebersichtMitarbeiter {
@FXML
private ListView listViewBestellMitarbeiter;
public void initialize(){
ScrollPane scrollPane = new ScrollPane();
scrollPane.hbarPolicyProperty().setValue(ScrollPane.ScrollBarPolicy.NEVER);
scrollPane.vbarPolicyProperty().setValue(ScrollPane.ScrollBarPolicy.ALWAYS);
scrollPane.setContent(listViewBestellMitarbeiter);
}
}

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<!-- Erstellt von Stefan Groß -->
<VBox xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="de.subway_surfers.vpr_app.BestelluebersichtMitarbeiter"
prefHeight="400.0" prefWidth="600.0" stylesheets="@layout.css">
<BorderPane styleClass="kopfzeile">
<left>
<Button text="Zurück" fx:id="zurueckBestellMitarbeiter"/>
</left>
<right>
<Button text="Abmelden" fx:id="abmeldenBestellMitarbeiter"/>
</right>
</BorderPane>
<ScrollPane fitToHeight="true" fitToWidth="true">
<Label text="Test"/>
<ListView fx:id="listViewBestellMitarbeiter"/>
</ScrollPane>
</VBox>