fix: fix colorpicker layout, remove datagrid animation.

This commit is contained in:
rabbitism 2023-02-10 23:58:12 +08:00
parent 7cababb140
commit e6a3e187a6
2 changed files with 3 additions and 8 deletions

View File

@ -317,7 +317,8 @@
<Grid <Grid
Margin="12" Margin="12"
ColumnDefinitions="Auto,*" ColumnDefinitions="Auto,*"
RowDefinitions="Auto,24,1*,1*,1*,1*,12"> RowDefinitions="Auto,24,1*,1*,1*,1*,12"
UseLayoutRounding="False">
<Grid.Styles> <Grid.Styles>
<Style Selector="NumericUpDown /template/ TextBox"> <Style Selector="NumericUpDown /template/ TextBox">
<Setter Property="InnerLeftContent" Value="{TemplateBinding Tag}" /> <Setter Property="InnerLeftContent" Value="{TemplateBinding Tag}" />

View File

@ -357,13 +357,7 @@
VerticalAlignment="Center" VerticalAlignment="Center"
Background="Transparent" Background="Transparent"
Data="{DynamicResource DataGridRowGroupHeaderExpandIconGlyph}" Data="{DynamicResource DataGridRowGroupHeaderExpandIconGlyph}"
Foreground="{DynamicResource DataGridRowGroupHeaderExpandIconForeground}"> Foreground="{DynamicResource DataGridRowGroupHeaderExpandIconForeground}" />
<PathIcon.Transitions>
<Transitions>
<TransformOperationsTransition Property="RenderTransform" Duration="0.1" />
</Transitions>
</PathIcon.Transitions>
</PathIcon>
</ControlTemplate> </ControlTemplate>
</Setter> </Setter>
<Style Selector="^:checked /template/ PathIcon"> <Style Selector="^:checked /template/ PathIcon">