Sidebar added
This commit is contained in:
parent
1eb9ee4624
commit
95ecc48dcd
@ -3,6 +3,9 @@
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?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.TitledPane?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
@ -20,8 +23,27 @@
|
||||
<padding>
|
||||
<Insets bottom="15" left="15" right="15" top="15" />
|
||||
</padding>
|
||||
<Label text="Virtueller Gesundheitsassistent" />
|
||||
<Button onMouseClicked="#handleOptions" text="Einstellungen" />
|
||||
<children>
|
||||
<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>
|
||||
</top>
|
||||
|
||||
@ -89,7 +111,7 @@
|
||||
|
||||
<!-- Rechte Seite: Avatar -->
|
||||
<VBox alignment="CENTER" spacing="15" HBox.hgrow="ALWAYS">
|
||||
<TitledPane text="Avatar">
|
||||
<TitledPane>
|
||||
<content>
|
||||
<StackPane fx:id="avatarContainer" alignment="CENTER" prefHeight="400" prefWidth="400">
|
||||
<HBox alignment="CENTER" spacing="10">
|
||||
@ -111,15 +133,36 @@
|
||||
|
||||
<!-- ========= UNTERER BEREICH ========= -->
|
||||
<bottom>
|
||||
<HBox alignment="CENTER_RIGHT">
|
||||
<HBox alignment="CENTER_RIGHT" spacing="10.0">
|
||||
<padding>
|
||||
<Insets bottom="15" left="15" right="15" top="15" />
|
||||
</padding>
|
||||
<Button fx:id="sendButton" mnemonicParsing="false" onMouseClicked="#handleSendMessage" text="Send message" />
|
||||
<TextField fx:id="messageInputField" />
|
||||
<TextField fx:id="messageOutputField" editable="false" />
|
||||
<Button fx:id="sendButton" mnemonicParsing="false" onMouseClicked="#handleSendMessage" text="Send message">
|
||||
<HBox.margin>
|
||||
<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" />
|
||||
</HBox>
|
||||
</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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user