Files
PantherByte/PantherByte/Views/NotificationDialog.axaml
T
alphafetus 3c7cfd23ac feat: finish implementation of ffmpeg installation on linux
This requires testing on Windows before we can call it a full release.
2025-10-03 22:36:31 -04:00

28 lines
1.1 KiB
XML

<Window 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:vm="using:PantherByte.ViewModels"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="PantherByte.Views.NotificationDialog"
x:DataType="vm:NotificationDialogViewModel"
Title="{Binding Title}"
WindowStartupLocation="CenterOwner"
SizeToContent="WidthAndHeight"
Background="Gray"
CanMaximize="False">
<Design.DataContext>
<vm:NotificationDialogViewModel />
</Design.DataContext>
<StackPanel Spacing="20" Margin="10" HorizontalAlignment="Stretch">
<TextBlock
HorizontalAlignment="Center"
Text="{Binding Message}" />
<Button HorizontalAlignment="Center"
HorizontalContentAlignment="Center"
Content="OK"
Padding="30 10"
Click="OkButton_Click" />
</StackPanel>
</Window>