<?xml version="1.0" encoding="UTF-8"?>
|
|
<?import java.net.URL?>
|
<?import javafx.geometry.Insets?>
|
<?import javafx.scene.Cursor?>
|
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.image.Image?>
|
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.layout.BorderPane?>
|
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.VBox?>
|
<?import javafx.scene.text.Font?>
|
<?import javafx.scene.text.Text?>
|
|
<BorderPane style="-fx-border-color: #969696; -fx-background-color: transparent; -fx-border-width: 1;" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.megatimfx.common.abstracts.AbstractEditDialogController">
|
<top>
|
<HBox onMouseDragged="#mouseDraggedTitleBar" onMousePressed="#mousePressedTitleBar" styleClass="title-bar" BorderPane.alignment="CENTER">
|
<children>
|
<HBox alignment="CENTER_LEFT" prefWidth="200.0" HBox.hgrow="ALWAYS">
|
<children>
|
<Text fx:id="title" fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="Titre de la fenĂȘtre ici">
|
<font>
|
<Font name="Arial" size="15.0" />
|
</font>
|
</Text>
|
</children>
|
<padding>
|
<Insets left="20.0" />
|
</padding></HBox>
|
<HBox alignment="CENTER_RIGHT" prefWidth="200.0" HBox.hgrow="ALWAYS">
|
<children>
|
<Button mnemonicParsing="false" onAction="#minimize" style="-fx-padding: 5 12 5 12;" styleClass="title-bar-button" visible="false">
|
<graphic>
|
<ImageView fitHeight="10.0" fitWidth="10.0" pickOnBounds="true" preserveRatio="true">
|
<image>
|
<Image url="@../../../../../images/reduire.png" />
|
</image>
|
</ImageView>
|
</graphic>
|
</Button>
|
<Button mnemonicParsing="false" onAction="#maximize" style="-fx-padding: 5 12 5 12;" styleClass="title-bar-button" visible="false">
|
<graphic>
|
<ImageView fitHeight="10.0" fitWidth="10.0" pickOnBounds="true" preserveRatio="true">
|
<image>
|
<Image url="@../../../../../images/agrandir.png" />
|
</image>
|
</ImageView>
|
</graphic>
|
</Button>
|
<Button mnemonicParsing="false" onAction="#close" style="-fx-padding: 3 10 3 10;" styleClass="title-bar-button">
|
<graphic>
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
<image>
|
<Image url="@../../../../../images/fermer.png" />
|
</image>
|
<cursor>
|
<Cursor fx:constant="HAND" />
|
</cursor>
|
</ImageView>
|
</graphic>
|
</Button>
|
</children></HBox>
|
</children>
|
<padding>
|
<Insets bottom="2.0" left="2.0" right="2.0" top="2.0" />
|
</padding>
|
</HBox>
|
</top>
|
<center>
|
<VBox BorderPane.alignment="CENTER">
|
<children>
|
<HBox alignment="CENTER_LEFT" style="-fx-background-color: transparent;" styleClass="banner">
|
<children>
|
<ImageView fitHeight="20.0" fitWidth="100.0" pickOnBounds="true" preserveRatio="true">
|
<image>
|
<Image url="@../../../../../images/Logo_FDX_Convert.png" />
|
</image>
|
</ImageView>
|
</children>
|
<padding>
|
<Insets left="47.0" top="10.0" />
|
</padding>
|
</HBox>
|
<BorderPane fx:id="formPanel" style="-fx-background-color: transparent;" VBox.vgrow="ALWAYS">
|
<center>
|
<VBox BorderPane.alignment="CENTER">
|
<padding>
|
<Insets bottom="20.0" left="47.0" right="47.0" top="20.0" />
|
</padding>
|
<children>
|
<VBox fx:id="formContainer" style="-fx-background-color: #F8F8F8; -fx-border-color: #E9E9E9; -fx-border-width: 1;" />
|
</children>
|
</VBox>
|
</center></BorderPane>
|
<HBox fx:id="bottomContainer" alignment="TOP_RIGHT" prefHeight="31.0" prefWidth="404.0" spacing="5.0">
|
<children>
|
<Button fx:id="cancelButton" mnemonicParsing="false" prefHeight="27.0" prefWidth="87.0" style="-fx-background-color: #949599; -fx-border-color: #9d9fa2; -fx-background-radius: 0;" text="Annuler" textFill="WHITE">
|
<font>
|
<Font name="System Bold" size="12.0" />
|
</font>
|
<cursor>
|
<Cursor fx:constant="HAND" />
|
</cursor>
|
</Button>
|
<Button fx:id="editButton" mnemonicParsing="false" prefHeight="27.0" prefWidth="87.0" style="-fx-background-color: #869447; -fx-background-radius: 0;" text="Enregistrer" textFill="WHITE">
|
<font>
|
<Font name="System Bold" size="12.0" />
|
</font>
|
<cursor>
|
<Cursor fx:constant="HAND" />
|
</cursor>
|
</Button>
|
</children>
|
<padding>
|
<Insets left="47.0" right="40.0" />
|
</padding>
|
</HBox>
|
</children>
|
</VBox>
|
</center>
|
<stylesheets>
|
<URL value="@../../../../../styles/custom-title-bar.css" />
|
<URL value="@../../../../styles/custom-main-style.css" />
|
</stylesheets>
|
</BorderPane>
|