style<Popups>: better dropshadow effect

This commit is contained in:
leo 2021-07-19 20:49:47 +08:00
parent 7ccd0ea80e
commit a7ddc50665
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
<Grid>
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="4">
<Border.Effect>
<DropShadowEffect BlurRadius="4" ShadowDepth="0" Color="Black" Opacity=".6"/>
<DropShadowEffect BlurRadius="4" ShadowDepth="0" Color="Black" Opacity=".8"/>
</Border.Effect>
</Border>
<StackPanel IsItemsHost="True" Margin="6" KeyboardNavigation.DirectionalNavigation="Cycle"/>
@ -74,7 +74,7 @@
<Grid>
<Border Background="{DynamicResource Brush.Popup}" BorderThickness="0" Margin="4">
<Border.Effect>
<DropShadowEffect BlurRadius="4" ShadowDepth="0" Color="Black" Opacity=".6"/>
<DropShadowEffect BlurRadius="4" ShadowDepth="0" Color="Black" Opacity=".8"/>
</Border.Effect>
</Border>

View file

@ -17,7 +17,7 @@
Width="500"
Height="Auto">
<Border.Effect>
<DropShadowEffect BlurRadius="8" ShadowDepth="0" Opacity=".5" Color="Black"/>
<DropShadowEffect BlurRadius="8" ShadowDepth="0" Opacity=".8" Color="Black"/>
</Border.Effect>
<Grid>