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

Added label above budget table displaying max amount

parent 1889b4de
No related branches found
No related tags found
3 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
......@@ -146,9 +146,18 @@
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<VBox prefHeight="475.0" prefWidth="485.0">
<VBox prefHeight="475.0" prefWidth="523.0">
<children>
<TableView fx:id="budgetTableView" maxHeight="450.0" prefHeight="450.0" prefWidth="523.0">
<Pane>
<children>
<Label alignment="CENTER" layoutX="99.0" layoutY="-12.0" text="Amount at disposal: 1000">
<font>
<Font name="Lucida Console" size="24.0" />
</font>
</Label>
</children>
</Pane>
<TableView fx:id="budgetTableView" maxHeight="450.0" prefHeight="239.0" prefWidth="523.0">
<columns>
<TableColumn fx:id="categoryCol" prefWidth="75.0" text="Category" />
<TableColumn fx:id="amountCol" prefWidth="75.0" text="Amount" />
......@@ -164,17 +173,18 @@
</items>
</ContextMenu>
</contextMenu>
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</TableView>
<Label text="Sum: ">
<font>
<Font name="Lucida Console" size="14.0" />
</font>
</Label>
</children>
<GridPane.margin>
<Insets top="30.0" />
</GridPane.margin>
</VBox>
<Pane GridPane.columnIndex="1">
<children>
<PieChart fx:id="budgetPieChart" layoutX="39.0" layoutY="5.0" legendSide="RIGHT" maxHeight="444.0" maxWidth="512.0" prefHeight="444.0" prefWidth="446.0" />
<PieChart fx:id="budgetPieChart" layoutX="95.0" layoutY="99.0" legendSide="RIGHT" maxHeight="444.0" maxWidth="512.0" prefHeight="302.0" prefWidth="354.0" />
</children>
</Pane>
</children>
......
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