main.fxml 954 Bytes
Newer Older
Jens Ehlers's avatar
Jens Ehlers committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXDrawersStack?>
<?import de.jensd.fx.glyphs.materialicons.MaterialIconView?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import java.net.URL?>
<JFXDrawersStack xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1"
                 fx:controller="shop.controller.MainController" fx:id="drawersStack">
    <stylesheets>
        <URL value="@app.css"/>
    </stylesheets>
    <VBox>
        <HBox fx:id="header" alignment="CENTER_LEFT">
            <MaterialIconView fx:id="menuBtn" glyphName="MENU" visible="false"></MaterialIconView>
            <Label fx:id="title" HBox.hgrow="ALWAYS"></Label>
        </HBox>
        <StackPane fx:id="viewHolder">
            <fx:include source="login.fxml" />
        </StackPane>
    </VBox>
</JFXDrawersStack>