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" Margin="0,24,0,8"
Text="{StaticResource Text.About.Title}" Text="{StaticResource Text.About.Title}"
HorizontalAlignment="Center" HorizontalAlignment="Center"
TextOptions.TextFormattingMode="Ideal"
FontSize="18" FontWeight="Bold"/> FontSize="18" FontWeight="Bold"/>
<!-- Version --> <!-- Version -->

View file

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