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

Merge branch 'frontend-testing' of...

Merge branch 'frontend-testing' of gitlab.stud.idi.ntnu.no:andreksv/idatt-1002-2023-9 into frontend-testing
parents 91e176bc c2f073e3
No related branches found
No related tags found
6 merge requests!43Merging frontend-testing into master,!38"Made progressbar dynamic in accordance to spending. Added balance field....,!37Made the sub progress bars respond to changes in expense,!32Added input validation to add dialog boxes.,!30Redesigned scenes,!29Redesigned scenes
Pipeline #214062 passed
......@@ -3,9 +3,5 @@ maxAmount=1000.0
budgetAmount=500.0
budgetCategory=FOOD
budgetDescription=
budgetAmount=67.0
budgetCategory=CLOTHES
budgetDescription=
budgetDescription=dd
date=2023-03-27
amount=100.0
date=2023-03-01
description=twelve
amount=12.0
isRecurring=Not recurring
category=CLOTHES
date=2023-03-11
description=1111
amount=121.0
isRecurring=Not recurring
category=OTHER
date=2023-03-26
amount=10.0
isRecurring=Not recurring
category=FOOD
date=2023-03-27
amount=110.0
date=2023-03-24
description=studie
amount=1000.0
isRecurring=Recurring
category=SALARY
category=STUDENT_LOAN
date=2023-03-31
date=2023-03-25
amount=100.0
isRecurring=Not recurring
category=GIFT
date=2023-03-25
description=airbnb
amount=1000.0
isRecurring=Not recurring
category=GIFT
......@@ -33,28 +33,9 @@
</ImageView>
<BorderPane prefHeight="400.0" prefWidth="600.0">
<top>
<BorderPane BorderPane.alignment="CENTER">
<center>
<HBox>
<children>
<Button fx:id="returnBtn" mnemonicParsing="false" onAction="#switchScene" text="Return ">
<opaqueInsets>
<Insets left="100.0" />
</opaqueInsets>
<HBox.margin>
<Insets left="10.0" top="10.0" />
</HBox.margin>
</Button>
<Region prefHeight="70.0" prefWidth="141.0" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Expenses" textAlignment="CENTER">
<HBox.margin>
<Insets />
</HBox.margin>
<font>
<Font size="48.0" />
</font>
</Text>
</children>
<HBox BorderPane.alignment="CENTER">
<children>
<Button fx:id="returnBtn" mnemonicParsing="false" onAction="#switchScene" text="Return ">
<opaqueInsets>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</opaqueInsets>
......@@ -124,6 +105,23 @@
</ComboBox>
</children>
</VBox>
<HBox prefHeight="100.0" prefWidth="200.0" GridPane.columnSpan="2" GridPane.rowIndex="3">
<children>
<Button fx:id="incomeBtn" mnemonicParsing="false" onAction="#switchScene" text="Income" />
<Button fx:id="budgetBtn" mnemonicParsing="false" onAction="#switchScene" text="Budget" />
<Button disable="true" mnemonicParsing="false" text="Expenses" />
<Button mnemonicParsing="false" onAction="#switchScene" text="Next">
<HBox.margin>
<Insets left="170.0" />
</HBox.margin></Button>
</children>
<padding>
<Insets top="10.0" />
</padding>
<GridPane.margin>
<Insets top="5.0" />
</GridPane.margin>
</HBox>
<TableView fx:id="expenseTableView" prefHeight="260.0" prefWidth="485.0" GridPane.columnSpan="2" GridPane.rowIndex="1">
<columns>
<TableColumn fx:id="dateColumn" prefWidth="75.0" text="Date" />
......
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