diff --git a/src/main/resources/fr.pasteur.ida.zellige.gui.view/Main.fxml b/src/main/resources/fr.pasteur.ida.zellige.gui.view/Main.fxml index b22f97166fbc38cef4cce29a62376af30f8fe166..dac139fff72fe6f02c6bac575889d453420dd91a 100644 --- a/src/main/resources/fr.pasteur.ida.zellige.gui.view/Main.fxml +++ b/src/main/resources/fr.pasteur.ida.zellige.gui.view/Main.fxml @@ -1,50 +1,53 @@ <?xml version="1.0" encoding="UTF-8"?> <!--suppress JavaFxDefaultTag, JavaFxUnresolvedFxIdReference --> + <?import javafx.geometry.Insets?> <?import javafx.scene.control.*?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.*?> <?import javafx.scene.text.Font?> -<VBox xmlns:fx="http://javafx.com/fxml" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" - minHeight="-Infinity" minWidth="-Infinity" prefHeight="786.0" prefWidth="866.0" spacing="5.0" - stylesheets="@theme2.css" xmlns="http://javafx.com/javafx" - fx:controller="fr.pasteur.ida.zellige.gui.controller.MainController"> +<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="786.0" prefWidth="866.0" spacing="5.0" stylesheets="@theme2.css" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.pasteur.ida.zellige.gui.controller.MainController"> <padding> - <Insets left="10.0" right="10.0" top="5.0"/> + <Insets left="10.0" right="10.0" top="5.0" /> </padding> - <HBox alignment="CENTER_LEFT" prefHeight="26.0" prefWidth="774.0" spacing="5.0" VBox.vgrow="ALWAYS"> + <HBox alignment="CENTER_LEFT" prefHeight="26.0" prefWidth="759.0" spacing="5.0" VBox.vgrow="ALWAYS"> <padding> - <Insets left="10.0"/> + <Insets left="10.0" /> </padding> - <HBox alignment="CENTER_LEFT" prefHeight="45.0" prefWidth="494.0"> + <HBox alignment="CENTER_LEFT" prefHeight="26.0" prefWidth="483.0"> <children> <Label prefHeight="12.0" prefWidth="71.0" text="File : "> <font> - <Font size="14.0"/> + <Font size="14.0" /> </font> </Label> - <ComboBox fx:id="activeDatasets" minHeight="-Infinity" minWidth="-Infinity" prefHeight="26.0" - prefWidth="262.0"/> + <ComboBox fx:id="activeDatasets" minHeight="-Infinity" minWidth="-Infinity" prefHeight="26.0" prefWidth="401.0" /> </children> </HBox> - <HBox alignment="CENTER_RIGHT" prefHeight="45.0" prefWidth="333.0" spacing="10.0"> + <HBox prefHeight="26.0" prefWidth="83.0"> + <children> + <Label text="Channel" /> + <Spinner fx:id="channels" prefHeight="21.0" prefWidth="42.0" /> + </children> + </HBox> + <HBox alignment="CENTER_RIGHT" prefHeight="26.0" prefWidth="151.0" spacing="10.0"> <children> - <Button mnemonicParsing="false" onAction="#loadParameters" text="Load parameters"> + <Button mnemonicParsing="false" onAction="#loadParameters" text="Load"> <graphic> <ImageView fitHeight="15.0" fitWidth="22.0" pickOnBounds="true" preserveRatio="true"> <image> - <Image url="@/icons/script_add.png"/> + <Image url="@/icons/script_add.png" /> </image> </ImageView> </graphic> </Button> - <Button mnemonicParsing="false" onAction="#saveParameters" text="Save Parameters"> + <Button mnemonicParsing="false" onAction="#saveParameters" text="Save"> <graphic> <ImageView fitHeight="15.0" fitWidth="26.0" pickOnBounds="true" preserveRatio="true"> <image> - <Image url="@../icons/script_save.png"/> + <Image url="@../icons/script_save.png" /> </image> </ImageView> </graphic> @@ -52,23 +55,18 @@ </children> </HBox> </HBox> - <fx:include fx:id="selection" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" - minHeight="-Infinity" minWidth="-Infinity" source="Selection.fxml" VBox.vgrow="ALWAYS"/> + <fx:include fx:id="selection" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" source="Selection.fxml" VBox.vgrow="ALWAYS" /> <HBox alignment="CENTER_LEFT" prefHeight="319.0" prefWidth="700.0" spacing="5.0"> - <fx:include fx:id="construction" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" - minHeight="-Infinity" minWidth="-Infinity" source="Construction.fxml" HBox.hgrow="ALWAYS"/> - <fx:include fx:id="projection" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" - minHeight="-Infinity" minWidth="-Infinity" source="Projection.fxml" HBox.hgrow="ALWAYS"/> + <fx:include fx:id="construction" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" source="Construction.fxml" HBox.hgrow="ALWAYS" /> + <fx:include fx:id="projection" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" source="Projection.fxml" HBox.hgrow="ALWAYS" /> </HBox> <StackPane prefHeight="51.0" prefWidth="747.0" VBox.vgrow="ALWAYS"> <BorderPane prefHeight="27.0" prefWidth="846.0"> <left> - <Label fx:id="logInfo" alignment="CENTER" prefHeight="32.0" prefWidth="418.0" - BorderPane.alignment="CENTER"/> + <Label fx:id="logInfo" alignment="CENTER" prefHeight="32.0" prefWidth="418.0" BorderPane.alignment="CENTER" /> </left> <center> - <Button fx:id="runButton" disable="true" mnemonicParsing="false" text="Run Zellige !" - BorderPane.alignment="TOP_CENTER"/> + <Button fx:id="runButton" disable="true" mnemonicParsing="false" text="Run Zellige !" BorderPane.alignment="TOP_CENTER" /> </center> </BorderPane> </StackPane>