Skip to content
Snippets Groups Projects
Commit 234c1a9d authored by Harry Linrui XU's avatar Harry Linrui XU
Browse files

Linked the window to the SceneController

parent d22e3b32
No related branches found
No related tags found
1 merge request!6Merging the frontend baseline to get up to date with the progress
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<?import javafx.scene.text.Font?> <?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?> <?import javafx.scene.text.Text?>
<AnchorPane xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1"> <AnchorPane xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="no.ntnu.idatt1002.demo.view.SceneController">
<children> <children>
<ImageView fitHeight="400.0" fitWidth="600.0" pickOnBounds="true"> <ImageView fitHeight="400.0" fitWidth="600.0" pickOnBounds="true">
<image> <image>
...@@ -67,7 +67,8 @@ ...@@ -67,7 +67,8 @@
</columnConstraints> </columnConstraints>
<rowConstraints> <rowConstraints>
<RowConstraints maxHeight="65.33334064483643" minHeight="10.0" prefHeight="65.33334064483643" vgrow="SOMETIMES" /> <RowConstraints maxHeight="65.33334064483643" minHeight="10.0" prefHeight="65.33334064483643" vgrow="SOMETIMES" />
<RowConstraints maxHeight="298.66665744781494" minHeight="10.0" prefHeight="250.66665935516357" vgrow="SOMETIMES" /> <RowConstraints maxHeight="298.66665744781494" minHeight="10.0" prefHeight="214.00004069010413" vgrow="SOMETIMES" />
<RowConstraints maxHeight="298.66665744781494" minHeight="10.0" prefHeight="29.999959309895814" vgrow="SOMETIMES" />
</rowConstraints> </rowConstraints>
<children> <children>
<HBox alignment="BOTTOM_LEFT" prefWidth="410.0"> <HBox alignment="BOTTOM_LEFT" prefWidth="410.0">
...@@ -108,6 +109,17 @@ ...@@ -108,6 +109,17 @@
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy> </columnResizePolicy>
</TableView> </TableView>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.rowIndex="2">
<children>
<Button mnemonicParsing="false" text="Overview" />
<Button mnemonicParsing="false" text="Income" />
<Button mnemonicParsing="false" text="Expenses" />
<Button mnemonicParsing="false" text="Savings" />
</children>
<padding>
<Insets top="10.0" />
</padding>
</HBox>
</children> </children>
</GridPane> </GridPane>
</center> </center>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment