mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 09:50:43 -05:00
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
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:helpers="using:Aki.Launcher.Helpers"
|
|
xmlns:dialogHost="clr-namespace:DialogHost;assembly=DialogHost.Avalonia"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="Aki.Launcher.Views.Dialogs.WarningDialogView"
|
|
Background="{StaticResource AKI_Background_Dark}"
|
|
BorderBrush="IndianRed"
|
|
BorderThickness="1"
|
|
>
|
|
<Grid RowDefinitions="10,AUTO,10,AUTO,10" ColumnDefinitions="10,*,10">
|
|
<Label Content="{Binding WarningMessage}" Grid.Row="1" Grid.Column="1"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="IndianRed"
|
|
/>
|
|
<Button Content="{Binding ButtonText}" Grid.Row="3" Grid.Column="1"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=dialogHost:DialogHost}, Path=CloseDialogCommand}"
|
|
Classes="yellow"
|
|
/>
|
|
</Grid>
|
|
</UserControl>
|