Browse Source

Fixed DropShadow issue

Fixed an issue with the DropShadowEffect in the NavigatorWindowStyle of
AvalonDock.
pull/638/head
Abdelkarim Sellamna 11 years ago committed by Siegfried Pammer
parent
commit
177dbe5dde
  1. 12
      src/Libraries/AvalonDock/AvalonDock/Resources/NavigatorWindowStyle.xaml

12
src/Libraries/AvalonDock/AvalonDock/Resources/NavigatorWindowStyle.xaml

@ -155,10 +155,17 @@
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type ad:NavigatorWindow}"> <ControlTemplate TargetType="{x:Type ad:NavigatorWindow}">
<Border Width="574" Height="437" Background="{StaticResource NavigatorWindowBackground}" BorderBrush="{StaticResource NavigatorWindowBorderBrush}" BorderThickness="1" CornerRadius="3"> <Border Background="Transparent">
<Border.Effect> <Border.Effect>
<DropShadowEffect BlurRadius="15"/> <DropShadowEffect BlurRadius="5" ShadowDepth="0"/>
</Border.Effect> </Border.Effect>
<Border Width="574"
Height="437"
Background="{StaticResource NavigatorWindowBackground}"
BorderBrush="{StaticResource NavigatorWindowBorderBrush}"
BorderThickness="1"
SnapsToDevicePixels="True"
CornerRadius="2">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="54"/> <RowDefinition Height="54"/>
@ -224,6 +231,7 @@
</Border> </Border>
</Grid> </Grid>
</Border> </Border>
</Border>
</ControlTemplate> </ControlTemplate>
</Setter.Value> </Setter.Value>

Loading…
Cancel
Save