<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.ResetSettingsDialog"
        Title="{t:Translate Reset UniGetUI}"
        MaxWidth="460"
        MinHeight="160"

        Background="{DynamicResource AppDialogBackground}">

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

        <TextBlock Grid.Row="0"
                   Text="{t:Translate Do you really want to reset UniGetUI to its default settings? This action cannot be undone.}"
                   TextWrapping="Wrap"
                   Opacity="0.85"/>

        <StackPanel Grid.Row="1"
                    Orientation="Horizontal"
                    HorizontalAlignment="Right"
                    Spacing="8">
            <Button x:Name="CancelButton"
                    Content="{t:Translate Cancel}"
                    MinWidth="80"
                    automation:AutomationProperties.Name="{t:Translate Cancel}"/>
            <Button x:Name="ResetButton"
                    Content="{t:Translate Reset UniGetUI}"
                    MinWidth="140"
                    Classes="accent"
                    automation:AutomationProperties.Name="{t:Translate Reset UniGetUI}"/>
        </StackPanel>

    </Grid>

</dialogs:ImmersiveDialog>
