<Window x:Class="BallanceTasEditor.Frontend.Views.AboutDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:BallanceTasEditor.Frontend.Views"
        xmlns:vm="clr-namespace:BallanceTasEditor.Frontend.ViewModels"
        xmlns:widget="clr-namespace:BallanceTasEditor.Frontend.Widgets"
        d:DataContext="{d:DesignInstance vm:AboutDialog}"
        mc:Ignorable="d" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False"
        Title="About Ballance TAS Editor" Width="340" Height="480" Icon="/Frontend/Assets/About.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <!-- 图标 -->
        <Image Source="/Frontend/Assets/App.ico" Grid.Row="0" Margin="10" HorizontalAlignment="Center"
			   Width="64" Height="64" RenderOptions.BitmapScalingMode="HighQuality"/>

        <!-- 应用名称和简介 -->
        <TextBlock Grid.Row="1" Text="Ballance TAS Editor" FontSize="20" FontWeight="Bold" HorizontalAlignment="Center" Margin="10" />
        <TextBlock Grid.Row="2" Text="Stable, Robust and Free TAS Editor" TextAlignment="Center" Margin="10" />
        <!-- 详情（版权信息等） -->
        <TextBox Grid.Row="3" IsReadOnly="True" TextWrapping="Wrap" Margin="10"
				 ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
				 Text="Copyright © 2021-2026 yyc12345. All rights reserved.&#13;
&#13;
Program: yyc12345 &#13;
Icon design: plAer_2 &#13;
&#13;
Version: 1.2 stable&#13;
Build Date: October 21, 2025&#13;"/>

        <!-- 确认按钮 -->
        <widget:IconButton Grid.Row="4" Margin="10" HorizontalAlignment="Center"
                           Style="{StaticResource OkIconButtonStyle}" IsDefault="True"
                           Command="{Binding OkCommand}"/>
    </Grid>
</Window>
