app.fxml (2908B) download
1<?xml version="1.0" encoding="UTF-8"?>
2
3<?import com.jfoenix.controls.JFXButton?>
4<?import de.jensd.fx.glyphs.materialicons.MaterialIconView?>
5<?import java.lang.String?>
6<?import java.net.URL?>
7<?import javafx.geometry.Insets?>
8<?import javafx.scene.Cursor?>
9<?import javafx.scene.layout.BorderPane?>
10<?import javafx.scene.layout.HBox?>
11<?import javafx.scene.layout.Region?>
12<?import javafx.scene.layout.VBox?>
13
14<BorderPane fx:id="app" prefHeight="1024.0" prefWidth="1440.0" styleClass="background" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"
15fx:controller="nl.isygameclient.controllers.AppController">
16 <left>
17 <VBox alignment="CENTER_LEFT" prefHeight="994.0" prefWidth="200.0" spacing="15.0" BorderPane.alignment="CENTER_LEFT">
18 <children>
19 <VBox fx:id="navBar" spacing="15.0"/>
20 <Region prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" />
21 <HBox alignment="CENTER_LEFT" prefHeight="60.0">
22 <children>
23 <JFXButton alignment="BASELINE_LEFT" graphicTextGap="10.0" prefHeight="50.0" prefWidth="200.0" styleClass="user-account" text="UserName">
24 <graphic>
25 <MaterialIconView glyphName="ACCOUNT_CIRCLE" size="30" styleClass="icon" />
26 </graphic>
27 <cursor>
28 <Cursor fx:constant="HAND" />
29 </cursor>
30 </JFXButton>
31 <Region HBox.hgrow="ALWAYS" />
32 <JFXButton onAction="#onSettingsButtonPressed" alignment="CENTER" contentDisplay="CENTER" prefHeight="50.0" prefWidth="50.0" styleClass="settings">
33 <graphic>
34 <MaterialIconView glyphName="SETTINGS" size="30" styleClass="surface-text" />
35 </graphic>
36 <cursor>
37 <Cursor fx:constant="HAND" />
38 </cursor>
39 </JFXButton>
40 </children>
41 <padding>
42 <Insets bottom="5.0" left="5.0" top="5.0" />
43 </padding>
44 </HBox>
45 </children>
46 <BorderPane.margin>
47 <Insets right="15.0" />
48 </BorderPane.margin>
49 <styleClass>
50 <String fx:value="surface" />
51 <String fx:value="rounded" />
52 </styleClass>
53 <padding>
54 <Insets right="5.0" top="15.0" />
55 </padding>
56 <opaqueInsets>
57 <Insets />
58 </opaqueInsets>
59 </VBox>
60 </left>
61 <center>
62 </center>
63 <stylesheets>
64 <URL value="@../css/style.css" />
65 <URL value="@../css/themes/dark.theme.css" />
66 <!-- <URL value="@../css/themes/light.theme.css" />-->
67 </stylesheets>
68 <padding>
69 <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
70 </padding>
71</BorderPane>