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

<?import com.jfoenix.controls.JFXButton?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.*?>
<?import org.jackhuang.hmcl.ui.FXUtils?>
<fx:root xmlns="http://javafx.com/javafx"
         xmlns:fx="http://javafx.com/fxml"
         styleClass="transparent"
         style="-fx-padding: 10 16 10 16;"
         type="StackPane" pickOnBounds="false">
    <BorderPane pickOnBounds="false">
        <left>
            <HBox alignment="CENTER" mouseTransparent="true">
                <StackPane fx:id="imageViewContainer" FXUtils.limitWidth="32" FXUtils.limitHeight="32">
                    <ImageView preserveRatio="true" fx:id="imageView" smooth="false">
                        <Image url="/assets/img/icon.png" />
                    </ImageView>
                </StackPane>
                <BorderPane style="-fx-padding: 0 0 0 10;">
                    <top>
                        <Label fx:id="lblTitle" maxWidth="90" style="-fx-font-size: 15;" textAlignment="JUSTIFY" />
                    </top>
                    <bottom>
                        <Label fx:id="lblSubtitle" maxWidth="90" style="-fx-font-size: 10;" textAlignment="JUSTIFY" />
                    </bottom>
                </BorderPane>
            </HBox>
        </left>
        <right>
            <HBox alignment="CENTER" pickOnBounds="false">
                <JFXButton fx:id="btnSettings" maxWidth="40" minWidth="40" prefWidth="40" styleClass="toggle-icon4">
                    <graphic>
                        <fx:include source="/assets/svg/gear.fxml" />
                    </graphic>
                </JFXButton>
            </HBox>
        </right>
    </BorderPane>
</fx:root>
