ready for testing

This commit is contained in:
Patrick 2025-01-13 22:14:40 +01:00
parent 88cc2680ad
commit fa36d02929
15 changed files with 33 additions and 45 deletions

View file

@ -41,7 +41,7 @@
<Insets />
</BorderPane.margin>
<children>
<Button fx:id="btnCheckOut" mnemonicParsing="false" onMouseClicked="#handleCheckOutButton" styleClass="btnCheckOut" text="Check out" GridPane.rowIndex="2" />
<Button fx:id="btnCheckOut" mnemonicParsing="false" onAction="#handleCheckOutButton" styleClass="btnCheckOut" text="Check out" GridPane.rowIndex="2" />
<Label fx:id="cartTitle" styleClass="cartTitle" text="Your cart" />
<TableView fx:id="cartContent" prefHeight="0.0" prefWidth="364.0" GridPane.rowIndex="1">
<columns>

View file

@ -113,7 +113,7 @@
<Label fx:id="cvvLabel" text="CVV:" textFill="WHITE" />
<PasswordField fx:id="cvvField" />
</HBox>
<Button fx:id="submitButton" alignment="CENTER" contentDisplay="CENTER" prefWidth="150" style="-fx-alignment: #4CAF50; -fx-text-fill: white; -fx-font-size: 16px; -fx-font-weight: bold;" styleClass="cartBtn" text="Submit" GridPane.columnSpan="2" GridPane.rowIndex="9" />
<Button fx:id="submitButton" alignment="CENTER" onAction="#handleSubmit" contentDisplay="CENTER" prefWidth="150" style="-fx-alignment: #4CAF50; -fx-text-fill: white; -fx-font-size: 16px; -fx-font-weight: bold;" styleClass="cartBtn" text="Submit" GridPane.columnSpan="2" GridPane.rowIndex="9" />
</children>
<columnConstraints>
<ColumnConstraints />