|
64 | 64 | </Style>
|
65 | 65 |
|
66 | 66 | <Style x:Key="ProfileExpanderOpen" BasedOn="{StaticResource MahApps.Styles.ToggleButton.ExpanderHeader.Down}" TargetType="{x:Type ToggleButton}">
|
67 |
| - <Setter Property="Template" Value="{x:Null}"> |
68 |
| - <!-- |
69 |
| - <Setter.Value> |
70 |
| - <ControlTemplate TargetType="{x:Type ToggleButton}"> |
71 |
| - |
72 |
| - <Border Padding="{TemplateBinding Padding}" |
73 |
| - Background="{TemplateBinding Background}" |
74 |
| - BorderBrush="{StaticResource MahApps.Brushes.Gray8}" |
75 |
| - BorderThickness="0,0,0,1"> |
76 |
| - <Grid Background="Transparent" SnapsToDevicePixels="False" Height="27"> |
77 |
| - <Rectangle Grid.Column="0" x:Name="Chevron" Width="16" Height="16" Fill="{DynamicResource MahApps.Brushes.Gray3}" Margin="0,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Center"> |
78 |
| - <Rectangle.OpacityMask> |
79 |
| - <VisualBrush Stretch="Uniform" Visual="{iconPacks:Entypo Kind=ChevronThinLeft}" /> |
80 |
| - </Rectangle.OpacityMask> |
81 |
| - </Rectangle> |
82 |
| - </Grid> |
83 |
| - </Border> |
84 |
| - |
85 |
| - <ControlTemplate.Triggers> |
86 |
| - <Trigger Property="IsMouseOver" Value="True"> |
87 |
| - <Setter TargetName="Chevron" Property="Fill" Value="{DynamicResource MahApps.Brushes.Gray5}"/> |
88 |
| - </Trigger> |
89 |
| - </ControlTemplate.Triggers> |
90 |
| - </ControlTemplate> |
91 |
| - </Setter.Value> |
92 |
| - --> |
93 |
| - </Setter> |
| 67 | + <Setter Property="Template" Value="{x:Null}" /> |
94 | 68 | </Style>
|
95 | 69 |
|
96 | 70 | <Style x:Key="ProfileExpanderClosed" BasedOn="{StaticResource MahApps.Styles.ToggleButton.ExpanderHeader.Right}" TargetType="{x:Type ToggleButton}">
|
|
106 | 80 | <RowDefinition Height="Auto" />
|
107 | 81 | <RowDefinition Height="*" />
|
108 | 82 | </Grid.RowDefinitions>
|
109 |
| - <Rectangle Grid.Row="0" x:Name="Chevron" Width="16" Height="16" Fill="{DynamicResource MahApps.Brushes.Gray3}" Margin="10,6,10,10" VerticalAlignment="Center" HorizontalAlignment="Center"> |
| 83 | + <Rectangle Grid.Row="0" x:Name="Chevron" Width="16" Height="16" Fill="{DynamicResource MahApps.Brushes.Gray3}" Margin="10,15,10,10" VerticalAlignment="Center" HorizontalAlignment="Center"> |
110 | 84 | <Rectangle.OpacityMask>
|
111 | 85 | <VisualBrush Stretch="Uniform" Visual="{iconPacks:Entypo Kind=ChevronThinRight}" />
|
112 | 86 | </Rectangle.OpacityMask>
|
|
0 commit comments