style<PopupPanel>: add DropShadowEffect

This commit is contained in:
leo 2021-06-18 09:56:45 +08:00
parent 3f2b404792
commit 0d5995e32f
2 changed files with 5 additions and 0 deletions

View file

@ -64,6 +64,7 @@
Margin="0,24,0,8"
Text="{StaticResource Text.About.Title}"
HorizontalAlignment="Center"
TextOptions.TextFormattingMode="Ideal"
FontSize="18" FontWeight="Bold"/>
<!-- Version -->

View file

@ -18,6 +18,10 @@
VerticalAlignment="Top"
Width="500"
Height="Auto">
<Border.Effect>
<DropShadowEffect BlurRadius="8" ShadowDepth="0" Opacity=".2" Color="Black"/>
</Border.Effect>
<Grid>
<!-- Custom panel -->
<Border x:Name="body">