<dialogs:ImmersiveDialog xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dialogs="using:UniGetUI.Avalonia.Views.DialogPages"
        xmlns:automation="clr-namespace:Avalonia.Automation;assembly=Avalonia.Controls"
        xmlns:t="using:UniGetUI.Avalonia.MarkupExtensions"
        x:Class="UniGetUI.Avalonia.Views.DialogPages.SimpleErrorDialog"
        MaxWidth="480"
        MinHeight="160"

        Background="{DynamicResource AppDialogBackground}">

    <Grid Margin="20"
          RowDefinitions="Auto,Auto"
          RowSpacing="12">

        <TextBlock x:Name="MessageBlock"
                   Grid.Row="0"
                   TextWrapping="Wrap"
                   Opacity="0.85"/>

        <Button x:Name="OkButton"
                Grid.Row="1"
                Content="{t:Translate OK}"
                MinWidth="80"
                HorizontalAlignment="Right"
                Classes="accent"
                automation:AutomationProperties.Name="{t:Translate OK}"/>

    </Grid>

</dialogs:ImmersiveDialog>
