BestelluebersichtMitarbeiter Maske (nicht fertig)
This commit is contained in:
parent
4bc951b162
commit
d24616fe00
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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>
|
Loading…
Reference in New Issue
Block a user