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

Changed addButton id to add and assigned onAction to edit

parent c4dc07fe
No related branches found
No related tags found
3 merge requests!34Merging new window for (first) income and expenses into redesigned app,!33Added exception to BudgetItem constructor and Overview now takes in a Budget,!22Created class for FileHandling GeneralBudget objects and made Overview class.
Pipeline #210262 passed with stages
in 1 minute and 42 seconds
......@@ -73,7 +73,7 @@
<children>
<HBox alignment="BOTTOM_LEFT" prefWidth="410.0" spacing="5.0">
<children>
<Button fx:id="handleAddButton" alignment="TOP_CENTER" mnemonicParsing="false" onAction="#handleAddButton" text="Add" textAlignment="CENTER">
<Button fx:id="add" alignment="TOP_CENTER" mnemonicParsing="false" onAction="#handleAddButton" text="Add" textAlignment="CENTER">
<graphic>
<ImageView fitHeight="19.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
......@@ -81,7 +81,7 @@
</image>
</ImageView>
</graphic></Button>
<Button alignment="TOP_CENTER" mnemonicParsing="false" text="Edit" textAlignment="CENTER">
<Button fx:id="edit" alignment="TOP_CENTER" mnemonicParsing="false" onAction="#handleEditButton" text="Edit" textAlignment="CENTER">
<graphic>
<ImageView fitHeight="19.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
......
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