Skip to content
Snippets Groups Projects
employeeHeader.fxml 1.78 KiB
Newer Older
eyan_'s avatar
eyan_ committed
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
eyan_'s avatar
eyan_ committed
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<VBox minHeight="-Infinity" minWidth="-Infinity" prefHeight="60.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
eyan_'s avatar
eyan_ committed
   <children>
      <HBox alignment="CENTER_RIGHT" maxHeight="-Infinity" prefHeight="25.0" prefWidth="600.0">
eyan_'s avatar
eyan_ committed
         <children>
            <HBox maxHeight="-Infinity" minWidth="-Infinity" prefHeight="26.0" prefWidth="200.0" HBox.hgrow="ALWAYS">
               <children>
                  <Label fx:id="loggedIn" prefHeight="26.0" prefWidth="242.0" text="Logged in: " />
               </children>
            </HBox>
            <Button alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" onMouseClicked="#logoutClicked" prefHeight="26.0" prefWidth="158.0" text="Logout" />
eyan_'s avatar
eyan_ committed
         </children>
      </HBox>
      <HBox alignment="CENTER" minWidth="200.0" prefHeight="35.0" prefWidth="800.0">
eyan_'s avatar
eyan_ committed
         <children>
            <Button alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" minWidth="50.0" mnemonicParsing="false" onMouseClicked="#viewScheduleDaily" prefHeight="35.0" prefWidth="200.0" text="Schedule" HBox.hgrow="ALWAYS" />
            <Button contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" minWidth="50.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="200.0" text="Payroll" HBox.hgrow="ALWAYS" />
            <Button alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" minHeight="-Infinity" minWidth="50.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="200.0" text="Requests" HBox.hgrow="ALWAYS" />
eyan_'s avatar
eyan_ committed
         </children>
      </HBox>
   </children>
</VBox>