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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.layout.*?>
<BorderPane xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="com.marvinelsen.willow.ui.controllers.MainController"
            stylesheets="/css/main.css">
    <top>
        <fx:include source="/fxml/menu.fxml"/>
    </top>
    <center>
        <VBox spacing="8.0" BorderPane.alignment="CENTER">
            <BorderPane.margin>
                <Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
            </BorderPane.margin>
            <fx:include source="/fxml/search.fxml"/>
            <SplitPane styleClass="split-pane" dividerPositions="0.33" VBox.vgrow="ALWAYS">
                <fx:include source="/fxml/search-results.fxml"/>
                <fx:include source="/fxml/details.fxml"/>
            </SplitPane>
        </VBox>
    </center>
</BorderPane>