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

<!--
  ~ ReadLengthDistribution.fxml Copyright (C) 2020. Daniel H. Huson
  ~
  ~  (Some files contain contributions from other authors, who are then mentioned separately.)
  ~
  ~  This program is free software: you can redistribute it and/or modify
  ~  it under the terms of the GNU General Public License as published by
  ~  the Free Software Foundation, either version 3 of the License, or
  ~  (at your option) any later version.
  ~
  ~  This program is distributed in the hope that it will be useful,
  ~  but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~  GNU General Public License for more details.
  ~
  ~  You should have received a copy of the GNU General Public License
  ~  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  ~
  -->

<?import javafx.geometry.Insets?>
<?import javafx.scene.chart.BarChart?>
<?import javafx.scene.chart.CategoryAxis?>
<?import javafx.scene.chart.NumberAxis?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ButtonBar?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
            prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="megan.dialogs.reads.ReadLengthDistributionController">
    <center>
        <BarChart fx:id="barChart" BorderPane.alignment="CENTER">
            <xAxis>
                <CategoryAxis side="BOTTOM"/>
            </xAxis>
            <yAxis>
                <NumberAxis side="LEFT"/>
            </yAxis>
        </BarChart>
    </center>
    <bottom>
        <ButtonBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
            <buttons>
                <ProgressBar fx:id="progressBar" prefWidth="200.0" progress="0.0" visible="false"/>
                <Button fx:id="closeButton" layoutX="530.0" layoutY="17.0" maxWidth="60.0" mnemonicParsing="false"
                        prefHeight="27.0" text="Close"/>
            </buttons>
            <BorderPane.margin>
                <Insets right="10.0"/>
            </BorderPane.margin>
        </ButtonBar>
    </bottom>
    <top>
        <TextField fx:id="textField" BorderPane.alignment="CENTER">
            <BorderPane.margin>
                <Insets left="10.0"/>
            </BorderPane.margin>
        </TextField>
    </top>
</BorderPane>
