<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane fx:id="AnchorPrincipal" minHeight="642.0" minWidth="796.0" prefHeight="642.0" prefWidth="796.0" style="-fx-background-color: rgba(0,0,0,0.6);" styleClass="AnchorPane-Default" stylesheets="@../../Public/CSS/StylePrincipal.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <StackPane prefHeight="150.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="244.0" prefWidth="530.0" style="-fx-background-color: #ffffff;" styleClass="panel-default">
               <children>
                  <AnchorPane prefHeight="38.0" prefWidth="200.0" styleClass="panel-default-titre" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
                     <children>
                        <Text fontSmoothingType="LCD" layoutX="22.0" layoutY="24.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Ajouter catégorie">
                           <font>
                              <Font name="System Bold" size="14.0" />
                           </font>
                        </Text>
                     </children>
                  </AnchorPane>
                  <GridPane layoutX="42.0" layoutY="57.0" prefHeight="112.0" prefWidth="403.0">
                     <children>
                        <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Nom catégorie">
                           <font>
                              <Font name="Verdana" size="12.0" />
                           </font>
                        </Text>
                        <TextField fx:id="NomCategorie" prefHeight="34.0" prefWidth="234.0" GridPane.columnIndex="1" />
                        <Text fx:id="ErreurCode" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
                           <font>
                              <Font name="System Bold" size="12.0" />
                           </font>
                        </Text>
                        <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Unité de mesure" GridPane.rowIndex="2">
                           <font>
                              <Font name="Verdana" size="12.0" />
                           </font>
                        </Text>
                        <AnchorPane prefHeight="41.0" prefWidth="252.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
                           <children>
                              <RadioButton fx:id="piece" layoutY="15.0" mnemonicParsing="false" selected="true" text="Piéce">
                                 <toggleGroup>
                                    <ToggleGroup fx:id="unite" />
                                 </toggleGroup>
                              </RadioButton>
                              <RadioButton fx:id="kilo" layoutX="69.0" layoutY="15.0" mnemonicParsing="false" text="Kilo" toggleGroup="$unite" />
                              <RadioButton fx:id="metre" layoutX="126.0" layoutY="17.0" mnemonicParsing="false" text="Métre" toggleGroup="$unite" />
                              <RadioButton fx:id="litre" layoutX="195.0" layoutY="17.0" mnemonicParsing="false" text="Litre" toggleGroup="$unite" />
                           </children>
                        </AnchorPane>
                        <Text fx:id="erreurCategorie" fill="#f20606" strokeType="OUTSIDE" strokeWidth="0.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
                           <font>
                              <Font name="System Bold" size="12.0" />
                           </font>
                        </Text>
                     </children>
                     <columnConstraints>
                        <ColumnConstraints hgrow="SOMETIMES" maxWidth="146.0" minWidth="10.0" prefWidth="146.0" />
                        <ColumnConstraints hgrow="SOMETIMES" />
                     </columnConstraints>
                     <rowConstraints>
                        <RowConstraints maxHeight="62.0" minHeight="10.0" prefHeight="45.0" vgrow="SOMETIMES" />
                        <RowConstraints maxHeight="50.0" minHeight="10.0" prefHeight="25.0" vgrow="SOMETIMES" />
                        <RowConstraints maxHeight="72.0" minHeight="10.0" prefHeight="50.0" vgrow="SOMETIMES" />
                     </rowConstraints>
                  </GridPane>
                  <Button layoutX="441.0" layoutY="195.0" mnemonicParsing="false" onAction="#AnnulerCategorieButtonAction" prefHeight="26.0" prefWidth="66.0" styleClass="btn-simple" text="Annuler" />
                  <Button fx:id="ButtonAjouterCategory" layoutX="357.0" layoutY="195.0" mnemonicParsing="false" prefHeight="26.0" prefWidth="66.0" styleClass="btn-simple" text="Ajouter" />
               </children>
            </AnchorPane>
         </children></StackPane>
   </children>
</AnchorPane>
