|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | 6 | xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.Controls" |
7 | 7 | xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" |
8 | | - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
9 | | - mc:Ignorable="d"> |
| 8 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" |
| 9 | + mc:Ignorable="d" d:DesignWidth="886.575"> |
10 | 10 |
|
11 | 11 | <!-- Resources --> |
12 | 12 | <UserControl.Resources> |
|
35 | 35 | <Setter Property="Template"> |
36 | 36 | <Setter.Value> |
37 | 37 | <ControlTemplate TargetType="Button"> |
38 | | - <Border Background="{TemplateBinding Background}" |
| 38 | + <ui:DropShadowPanel BlurRadius="12" |
| 39 | + CornerRadius="{DynamicResource ControlCornerRadius}" ShadowOpacity="0.06" ShadowDepth="2" ShadowMode="Outer"> |
| 40 | + <Border Background="{TemplateBinding Background}" |
39 | 41 | BorderBrush="{TemplateBinding BorderBrush}" |
40 | 42 | BorderThickness="{TemplateBinding BorderThickness}" |
41 | 43 | CornerRadius="{DynamicResource ControlCornerRadius}"> |
42 | | - <ContentPresenter |
43 | | - HorizontalAlignment="Center" |
44 | | - VerticalAlignment="Center" |
45 | | - Content="{TemplateBinding Content}" /> |
46 | | - </Border> |
| 44 | + <ContentPresenter |
| 45 | + HorizontalAlignment="Center" |
| 46 | + VerticalAlignment="Center" |
| 47 | + Content="{TemplateBinding Content}" /> |
| 48 | + </Border> |
| 49 | + </ui:DropShadowPanel> |
47 | 50 | </ControlTemplate> |
48 | 51 | </Setter.Value> |
49 | 52 | </Setter> |
|
118 | 121 | x:Name="ScrollBackBtn" |
119 | 122 | Width="16" |
120 | 123 | Height="38" |
121 | | - Margin="8,0,0,25" |
| 124 | + Margin="12,0,0,25" |
122 | 125 | VerticalAlignment="Center" |
123 | 126 | AutomationProperties.Name="Scroll left" |
124 | 127 | Style="{StaticResource ScrollButtonStyle}" |
|
130 | 133 | x:Name="ScrollForwardBtn" |
131 | 134 | Width="16" |
132 | 135 | Height="38" |
133 | | - Margin="0,0,8,25" |
| 136 | + Margin="0,0,12,25" |
134 | 137 | VerticalAlignment="Center" |
135 | 138 | HorizontalAlignment="Right" |
136 | 139 | AutomationProperties.Name="Scroll right" |
|
0 commit comments