Sidebar added
This commit is contained in:
parent
1eb9ee4624
commit
95ecc48dcd
@ -3,6 +3,9 @@
|
|||||||
<?import javafx.geometry.Insets?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.control.Menu?>
|
||||||
|
<?import javafx.scene.control.MenuBar?>
|
||||||
|
<?import javafx.scene.control.MenuItem?>
|
||||||
<?import javafx.scene.control.TextField?>
|
<?import javafx.scene.control.TextField?>
|
||||||
<?import javafx.scene.control.TitledPane?>
|
<?import javafx.scene.control.TitledPane?>
|
||||||
<?import javafx.scene.image.Image?>
|
<?import javafx.scene.image.Image?>
|
||||||
@ -20,8 +23,27 @@
|
|||||||
<padding>
|
<padding>
|
||||||
<Insets bottom="15" left="15" right="15" top="15" />
|
<Insets bottom="15" left="15" right="15" top="15" />
|
||||||
</padding>
|
</padding>
|
||||||
<Label text="Virtueller Gesundheitsassistent" />
|
<children>
|
||||||
<Button onMouseClicked="#handleOptions" text="Einstellungen" />
|
<MenuBar prefHeight="25.0" prefWidth="1258.0">
|
||||||
|
<menus>
|
||||||
|
<Menu mnemonicParsing="false" text="File">
|
||||||
|
<items>
|
||||||
|
<MenuItem mnemonicParsing="false" text="Close" />
|
||||||
|
</items>
|
||||||
|
</Menu>
|
||||||
|
<Menu mnemonicParsing="false" text="Edit">
|
||||||
|
<items>
|
||||||
|
<MenuItem mnemonicParsing="false" text="Delete" />
|
||||||
|
</items>
|
||||||
|
</Menu>
|
||||||
|
<Menu mnemonicParsing="false" text="Help">
|
||||||
|
<items>
|
||||||
|
<MenuItem mnemonicParsing="false" text="About" />
|
||||||
|
</items>
|
||||||
|
</Menu>
|
||||||
|
</menus>
|
||||||
|
</MenuBar>
|
||||||
|
</children>
|
||||||
</HBox>
|
</HBox>
|
||||||
</top>
|
</top>
|
||||||
|
|
||||||
@ -89,7 +111,7 @@
|
|||||||
|
|
||||||
<!-- Rechte Seite: Avatar -->
|
<!-- Rechte Seite: Avatar -->
|
||||||
<VBox alignment="CENTER" spacing="15" HBox.hgrow="ALWAYS">
|
<VBox alignment="CENTER" spacing="15" HBox.hgrow="ALWAYS">
|
||||||
<TitledPane text="Avatar">
|
<TitledPane>
|
||||||
<content>
|
<content>
|
||||||
<StackPane fx:id="avatarContainer" alignment="CENTER" prefHeight="400" prefWidth="400">
|
<StackPane fx:id="avatarContainer" alignment="CENTER" prefHeight="400" prefWidth="400">
|
||||||
<HBox alignment="CENTER" spacing="10">
|
<HBox alignment="CENTER" spacing="10">
|
||||||
@ -111,15 +133,36 @@
|
|||||||
|
|
||||||
<!-- ========= UNTERER BEREICH ========= -->
|
<!-- ========= UNTERER BEREICH ========= -->
|
||||||
<bottom>
|
<bottom>
|
||||||
<HBox alignment="CENTER_RIGHT">
|
<HBox alignment="CENTER_RIGHT" spacing="10.0">
|
||||||
<padding>
|
<padding>
|
||||||
<Insets bottom="15" left="15" right="15" top="15" />
|
<Insets bottom="15" left="15" right="15" top="15" />
|
||||||
</padding>
|
</padding>
|
||||||
<Button fx:id="sendButton" mnemonicParsing="false" onMouseClicked="#handleSendMessage" text="Send message" />
|
<Button fx:id="sendButton" mnemonicParsing="false" onMouseClicked="#handleSendMessage" text="Send message">
|
||||||
<TextField fx:id="messageInputField" />
|
<HBox.margin>
|
||||||
<TextField fx:id="messageOutputField" editable="false" />
|
<Insets />
|
||||||
|
</HBox.margin></Button>
|
||||||
|
<TextField fx:id="messageInputField">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets right="20.0" />
|
||||||
|
</HBox.margin></TextField>
|
||||||
|
<TextField fx:id="messageOutputField" editable="false">
|
||||||
|
<HBox.margin>
|
||||||
|
<Insets left="20.0" />
|
||||||
|
</HBox.margin></TextField>
|
||||||
<Button fx:id="exitButton" onMouseClicked="#handleExit" text="Beenden" />
|
<Button fx:id="exitButton" onMouseClicked="#handleExit" text="Beenden" />
|
||||||
</HBox>
|
</HBox>
|
||||||
</bottom>
|
</bottom>
|
||||||
|
<left>
|
||||||
|
<VBox prefHeight="200.0" prefWidth="186.0" BorderPane.alignment="CENTER">
|
||||||
|
<children>
|
||||||
|
<Button mnemonicParsing="false" onMouseClicked="#showDashboard" prefHeight="50.0" prefWidth="200.0" text="Gesundheitsdaten" />
|
||||||
|
<Button mnemonicParsing="false" prefHeight="50.0" prefWidth="200.0" text="Avatar" />
|
||||||
|
<Button mnemonicParsing="false" prefHeight="50.0" prefWidth="200.0" text="Einstellungen" />
|
||||||
|
</children>
|
||||||
|
<BorderPane.margin>
|
||||||
|
<Insets left="15.0" />
|
||||||
|
</BorderPane.margin>
|
||||||
|
</VBox>
|
||||||
|
</left>
|
||||||
|
|
||||||
</BorderPane>
|
</BorderPane>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user