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

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?>

<BorderPane xmlns:fx="http://javafx.com/fxml"
            fx:controller="com.zhangmeng.online.exam.ui.controller.MainController">
    <top>
        <HBox spacing="10" alignment="CENTER_RIGHT" style="-fx-padding: 5;">
            <Label fx:id="userLabel"/>
            <Button text="退出" onAction="#handleLogout"/>
        </HBox>
    </top>
    
    <left>
        <TreeView fx:id="menuTree" prefWidth="200"/>
    </left>
    
    <center>
        <TabPane fx:id="contentTabPane" tabClosingPolicy="ALL_TABS"/>
    </center>
</BorderPane> 