code style

This commit is contained in:
Lightczx
2023-11-01 15:56:22 +08:00
parent 7cad996902
commit c8e8213df6
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
<ItemsPanelTemplate x:Key="WrapPanelSpacing4Template">
<cwcont:WrapPanel HorizontalSpacing="4" VerticalSpacing="4"/>
</ItemsPanelTemplate>
<ItemsPanelTemplate x:Key="HorizontalStackPanelTemplate">
<ItemsPanelTemplate x:Key="HorizontalStackPanelSpacing0Template">
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
<ItemsPanelTemplate x:Key="HorizontalStackPanelSpacing2Template">

View File

@@ -157,7 +157,7 @@
Margin="6,0,0,6"
VerticalAlignment="Bottom"
ItemTemplate="{StaticResource AvatarGridViewSkillTemplate}"
ItemsPanel="{StaticResource HorizontalStackPanelTemplate}"
ItemsPanel="{StaticResource HorizontalStackPanelSpacing0Template}"
ItemsSource="{Binding Skills}"/>
</Grid>
</DataTemplate>
@@ -659,7 +659,7 @@
Grid.Row="1"
Grid.Column="0"
Margin="16"
ItemsPanel="{StaticResource HorizontalStackPanelTemplate}"
ItemsPanel="{StaticResource HorizontalStackPanelSpacing0Template}"
ItemsSource="{Binding SelectedAvatar.Constellations}">
<ItemsControl.ItemTemplate>
<DataTemplate>