2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-03 09:03:42 -04:00

add scale and timeout notification settings

This commit is contained in:
Xjph
2021-09-13 10:16:18 -02:30
parent 2e235bc939
commit 840ccad5bf
5 changed files with 103 additions and 12 deletions

View File

@ -9,16 +9,13 @@
ExtendClientAreaTitleBarHeightHint="-1"
Title="Notification"
Width="400" Height="150"
MinWidth="400" MinHeight="150"
MaxWidth="400" MaxHeight="150"
Topmost="True"
SizeToContent="Height"
TransparencyLevelHint="AcrylicBlur"
Background="Transparent"
Focusable="False">
<Panel DataContext="{Binding Notification}">
<Border BorderBrush="{Binding Colour}" BorderThickness="4">
<StackPanel Width="400">
<Border Name="TextBorder" BorderBrush="{Binding Colour}" BorderThickness="4">
<StackPanel Name="TextPanel" Width="400">
<TextBlock
Name="Title"
Padding="10"