fix: fix date/time picker color.

This commit is contained in:
rabbitism 2023-03-22 11:49:28 +08:00
parent 4f28569781
commit 34f0e53627
3 changed files with 6 additions and 12 deletions

View File

@ -92,8 +92,7 @@
<PathIcon <PathIcon
Width="12" Width="12"
Height="12" Height="12"
Data="{DynamicResource DateTimePickerAcceptGlyph}" Data="{DynamicResource DateTimePickerAcceptGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Button> </Button>
<Button <Button
Name="PART_DismissButton" Name="PART_DismissButton"
@ -105,8 +104,7 @@
<PathIcon <PathIcon
Width="12" Width="12"
Height="12" Height="12"
Data="{DynamicResource DateTimePickerDismissGlyph}" Data="{DynamicResource DateTimePickerDismissGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Button> </Button>
<Rectangle <Rectangle
Grid.ColumnSpan="2" Grid.ColumnSpan="2"

View File

@ -103,8 +103,7 @@
Height="8" Height="8"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Data="{DynamicResource DateTimePickerButtonUpGlyph}" Data="{DynamicResource DateTimePickerButtonUpGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Template> </Template>
</Setter> </Setter>
</ControlTheme> </ControlTheme>
@ -125,8 +124,7 @@
Height="8" Height="8"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Data="{DynamicResource DateTimePickerButtonDownGlyph}" Data="{DynamicResource DateTimePickerButtonDownGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Template> </Template>
</Setter> </Setter>
</ControlTheme> </ControlTheme>

View File

@ -96,8 +96,7 @@
<PathIcon <PathIcon
Width="12" Width="12"
Height="12" Height="12"
Data="{DynamicResource DateTimePickerAcceptGlyph}" Data="{DynamicResource DateTimePickerAcceptGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Button> </Button>
<Button <Button
Name="PART_DismissButton" Name="PART_DismissButton"
@ -109,8 +108,7 @@
<PathIcon <PathIcon
Width="12" Width="12"
Height="12" Height="12"
Data="{DynamicResource DateTimePickerDismissGlyph}" Data="{DynamicResource DateTimePickerDismissGlyph}" />
Foreground="{Binding $parent[ContentPresenter].Foreground}" />
</Button> </Button>
<Rectangle <Rectangle
Grid.ColumnSpan="2" Grid.ColumnSpan="2"