<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.control.Label?>
<?import ru.trader.view.support.NumberField?>

<?import ru.trader.view.support.TitledBorder?>

<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.TextField?>
<GridPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ru.trader.controllers.SettingsController"
              styleClass="dialog" vgap="4" hgap="8">
        <columnConstraints>
            <ColumnConstraints />
            <ColumnConstraints minWidth="260"  maxWidth="260"/>
        </columnConstraints>
        <Label text="%settings.emdn" styleClass="settings-group" GridPane.halignment="CENTER" GridPane.columnSpan="2"/>
        <Label text="%settings.emdn.on" GridPane.rowIndex="1"/>
        <CheckBox fx:id="emdnOn" GridPane.columnIndex="1" GridPane.rowIndex="1" disable="true"/>
        <Label text="%settings.emdn.sub" GridPane.rowIndex="2" />
        <TextField fx:id="emdnSubServ" GridPane.columnIndex="1" GridPane.rowIndex="2" />
        <Label text="%settings.emdn.updateOnly" GridPane.rowIndex="3" />
        <CheckBox fx:id="emdnUpdateOnly" GridPane.columnIndex="1" GridPane.rowIndex="3" />
        <Label text="%settings.emdn.auto" GridPane.rowIndex="4" />
        <NumberField fx:id="emdnUpdateTime" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="4" />
        <Label text="%settings.performance" styleClass="settings-group" GridPane.halignment="CENTER" GridPane.columnSpan="2"  GridPane.rowIndex="5"/>
        <Label text="%settings.performance.segmentSize" GridPane.rowIndex="6" />
        <NumberField fx:id="segmentSize" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="6" />
        <Label text="%settings.performance.limit" GridPane.rowIndex="7" />
        <NumberField fx:id="pathsCount" maxWidth="100" GridPane.columnIndex="1" GridPane.rowIndex="7" />

</GridPane>

