Browse Source

MenuItem - 补充二级菜单阴影

ZhouJieSheng 1 year ago
parent
commit
e4300e3f8c
1 changed files with 4 additions and 2 deletions
  1. 4 2
      PDF Office/App.xaml

+ 4 - 2
PDF Office/App.xaml

@@ -125,6 +125,7 @@
                                     </Grid>
                                     <Popup
                                         x:Name="SubMenuPopup"
+                                        Margin="4"
                                         AllowsTransparency="True"
                                         Focusable="false"
                                         IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}"
@@ -135,8 +136,9 @@
                                             Background="{StaticResource color.sys.layout.mg}"
                                             BorderBrush="#999999"
                                             BorderThickness="0"
-                                            Effect="{StaticResource shadow.black-2-2}"
-                                            CornerRadius="7">
+                                            CornerRadius="7"
+                                            Margin="4"
+                                            Effect="{StaticResource shadow.black-2-8}">
                                             <Grid x:Name="SubMenu" Grid.IsSharedSizeScope="True">
                                                 <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle" />
                                             </Grid>