0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-13 09:50:43 -05:00
launcher/project/SPT.Launcher/Views/Dialogs/WarningDialogView.axaml

27 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-03-03 19:25:33 +00:00
<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"
2024-05-21 20:15:19 +01:00
xmlns:helpers="using:SPT.Launcher.Helpers"
2024-07-06 11:48:16 -04:00
xmlns:dialogHost="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
2023-03-03 19:25:33 +00:00
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
2024-05-21 20:15:19 +01:00
x:Class="SPT.Launcher.Views.Dialogs.WarningDialogView"
Background="{DynamicResource BackgroundBrush}"
2023-03-03 19:25:33 +00:00
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}"
2024-07-08 18:41:22 -04:00
Classes="acc"
2023-03-03 19:25:33 +00:00
/>
</Grid>
</UserControl>