diff --git a/src/main/resources/view/BudgetNewest.fxml b/src/main/resources/view/BudgetNewest.fxml index 4ec1bfc83b5b596f08919ec4024d25cb84daccf6..b7f3e7897c012804a88e23d8f203ba8c8825f285 100644 --- a/src/main/resources/view/BudgetNewest.fxml +++ b/src/main/resources/view/BudgetNewest.fxml @@ -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>