Fix layout, again
<?import javafx.scene.layout.VBox?>
<ScrollPane xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/15.0.1"
fx:controller="io.github.mzmine.modules.tools.batchwizard.BatchWizardController">
- <content>
<BorderPane>
<center>
<SplitPane BorderPane.alignment="CENTER" dividerPositions="0.5">
- <items>
<GridPane hgap="5.0" vgap="5.0" fx:id="pnParametersMS">
- <children>
<Label GridPane.rowIndex="2" styleClass="bold-title-label" text="MS data files"/>
<VBox spacing="4.0">
- <GridPane.margin>
- <Insets/>
- </GridPane.margin>
- <children>
<FlowPane hgap="5.0">
- <children>
<Button mnemonicParsing="false" onAction="#onSetMsDefaults"
text="Set defaults" fx:id="btnSetMsDefaults"/>
<ComboBox prefWidth="150.0" fx:id="cbPolarity"/>
</RadioButton>
<RadioButton mnemonicParsing="false" text="TOF" toggleGroup="$massSpec"
fx:id="rbTOF"/>
- </children>
</FlowPane>
<FlowPane hgap="5.0">
- <children>
<CheckBox mnemonicParsing="false" text="Ion mobility"
fx:id="cbIonMobility"/>
<ComboBox prefWidth="150.0" fx:id="cbMobilityType"/>
- </children>
</FlowPane>
- <Label styleClass="bold-title-label" text="Mass spectrometer preset"/>
- </children>
+ <Label styleClass="bold-title-label" text="Mass spectrometer presets"/>
</VBox>
- </children>
<columnConstraints>
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0"/>
</columnConstraints>
- <opaqueInsets>
- <Insets/>
- </opaqueInsets>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
</padding>
</rowConstraints>
</GridPane>
<GridPane fx:id="pnParametersLC">
- <children>
<VBox spacing="4.0">
- <children>
<FlowPane hgap="5.0" vgap="5.0">
- <children>
<Button alignment="TOP_CENTER" mnemonicParsing="false"
onAction="#onSetLcDefaults" text="Set defaults" fx:id="btnSetLcDefaults"/>
- <RadioButton mnemonicParsing="false" text="HPLC" toggleGroup="$hplc"
- fx:id="rbHPLC"/>
<RadioButton mnemonicParsing="false" text="UHPLC" fx:id="rbUHPLC">
<toggleGroup>
<ToggleGroup fx:id="hplc"/>
</toggleGroup>
</RadioButton>
- </children>
+ <RadioButton mnemonicParsing="false" text="HPLC" toggleGroup="$hplc"
+ fx:id="rbHPLC"/>
</FlowPane>
- <Label styleClass="bold-title-label" text="HPLC Preset"/>
- </children>
+ <Label styleClass="bold-title-label" text="HPLC presets"/>
</VBox>
<VBox GridPane.rowIndex="2" spacing="4.0" fx:id="rightMenu">
<FlowPane>
- <children>
<Button alignment="TOP_RIGHT" mnemonicParsing="false" onAction="#onRunPressed"
text="Run"/>
- </children>
</FlowPane>
</VBox>
- </children>
<columnConstraints>
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0"/>
</columnConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
</rowConstraints>
</GridPane>
- </items>
</SplitPane>
</center>
</BorderPane>
- </content>
</ScrollPane>
