Skip to content
Snippets Groups Projects
Commit a026ceba authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #209 - new payment ui --> resizeable

parent cb2bb7f8
No related branches found
No related tags found
1 merge request!213merge v1_6_0 into master
......@@ -112,7 +112,9 @@ public class NewPaymentController extends BaseController implements Styleable
}
stage.getIcons().add(controller.getIcon());
stage.setResizable(false);
stage.setResizable(true);
stage.setMinHeight(600);
stage.setMinWidth(450);
stage.getScene().getStylesheets().add("/de/deadlocker8/budgetmaster/ui/style.css");
}
......@@ -120,6 +122,7 @@ public class NewPaymentController extends BaseController implements Styleable
public void init()
{
vboxContent.prefWidthProperty().bind(scrollPane.widthProperty().subtract(25));
vboxContent.prefHeightProperty().bind(scrollPane.heightProperty().subtract(10));
applyStyle();
......
......@@ -21,7 +21,7 @@
<children>
<ScrollPane fx:id="scrollPane" hbarPolicy="NEVER" layoutX="14.0" layoutY="14.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
<content>
<VBox fx:id="vboxContent" prefHeight="544.0" prefWidth="414.0" spacing="15.0">
<VBox fx:id="vboxContent" prefHeight="565.0" prefWidth="414.0" spacing="14.0">
<children>
<HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0">
<children>
......@@ -212,12 +212,12 @@
</Button>
</children>
<VBox.margin>
<Insets top="10.0" />
<Insets top="5.0" />
</VBox.margin>
</HBox>
</children>
<padding>
<Insets bottom="15.0" />
<Insets bottom="5.0" />
</padding>
</VBox>
</content>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment