Skip to content
Snippets Groups Projects
removeEmployee.fxml 1.96 KiB
Newer Older
Mitch Cumpstone (cmc408)'s avatar
Mitch Cumpstone (cmc408) committed
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
Mitch Cumpstone (cmc408)'s avatar
Mitch Cumpstone (cmc408) committed
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="540.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.schedulerapp.Controller">
   <children>
      <Label alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="700.0" text="Remove Employee" textAlignment="CENTER">
         <font>
            <Font name="System Bold" size="28.0" />
         </font>
         <VBox.margin>
            <Insets />
         </VBox.margin>
         <padding>
            <Insets top="50.0" />
         </padding>
      </Label>
      <HBox alignment="CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="140.0" prefWidth="700.0">
         <children>
            <Label text="Employee: ">
Mitch Cumpstone (cmc408)'s avatar
Mitch Cumpstone (cmc408) committed
               <font>
                  <Font size="20.0" />
               </font>
            </Label>
            <ComboBox fx:id="removeEmployeeBox" onMouseClicked="#removeEmployeeBoxClicked" prefWidth="150.0" />
Mitch Cumpstone (cmc408)'s avatar
Mitch Cumpstone (cmc408) committed
         </children>
      </HBox>
      <HBox alignment="TOP_CENTER" minHeight="-Infinity" minWidth="-Infinity" prefHeight="200.0" prefWidth="700.0">
         <children>
            <Button alignment="CENTER" mnemonicParsing="false" onMouseClicked="#removeEmployeeClicked" text="Remove Employee">
               <font>
                  <Font size="16.0" />
               </font>
               <HBox.margin>
                  <Insets top="50.0" />
               </HBox.margin>
               <opaqueInsets>
                  <Insets />
               </opaqueInsets>
            </Button>
         </children>
      </HBox>
   </children>
</VBox>