-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRemoveItem.fxml
31 lines (29 loc) · 1.54 KB
/
RemoveItem.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.VBox?>
<VBox alignment="TOP_CENTER" prefWidth="200.0" spacing="5.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<AnchorPane prefHeight="70.0" prefWidth="200.0" style="-fx-background-color: lightgrey;">
<children>
<Label alignment="CENTER" contentDisplay="CENTER" maxWidth="1.7976931348623157E308" style="-fx-text-alignment: center;" text="Are you sure you want to remove this item?" wrapText="true" AnchorPane.bottomAnchor="15.0" AnchorPane.leftAnchor="15.0" AnchorPane.rightAnchor="15.0" AnchorPane.topAnchor="15.0" />
</children>
</AnchorPane>
<Label fx:id="lblItem" alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Item description goes here!" wrapText="true" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</VBox.margin>
</Label>
<HBox alignment="BOTTOM_CENTER" spacing="5.0" VBox.vgrow="NEVER">
<children>
<Button mnemonicParsing="false" onAction="#confirmPressed" text="Confirm" />
<Button mnemonicParsing="false" onAction="#cancelPressed" text="Cancel" />
</children>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</HBox>
</children>
</VBox>