<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.BundleSecurityReportDialog"
        Title="{t:Translate Bundle security report}"
        MaxWidth="580"
        MinWidth="400"
        MaxHeight="420"
        MinHeight="300"
        Background="{DynamicResource AppDialogBackground}">

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

        <TextBlock Grid.Row="0"
                   Text="{t:Translate The bundle contained restricted content}"
                   FontSize="16"
                   FontWeight="SemiBold"
                   TextWrapping="Wrap"
                   automation:AutomationProperties.HeadingLevel="1"/>

        <ScrollViewer Grid.Row="1">
            <TextBlock x:Name="ReportText"
                       TextWrapping="Wrap"
                       FontFamily="Monospace"
                       FontSize="12"
                       Opacity="0.85"/>
        </ScrollViewer>

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

    </Grid>

</dialogs:ImmersiveDialog>
