Skip to content

Commit

Permalink
fix: 稍微优化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Dec 13, 2023
1 parent 4f15cc8 commit c6adb94
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Magpie.App/SettingsExpander.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,8 @@
<!-- ItemsRepeater 无法在 XAML Islands 中使用,见 https://github.com/microsoft/microsoft-ui-xaml/issues/2349 -->
<ItemsControl x:Name="PART_ItemsContainer"
Grid.Row="1"
AllowDrop="True"
IsTabStop="False"
ItemTemplate="{Binding ItemTemplate, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}">
<ItemsControl.ItemContainerStyle>
<Style TargetType="ContentPresenter">
<Setter Property="TabFocusNavigation" Value="Local" />
</Style>
</ItemsControl.ItemContainerStyle>
</ItemsControl>
ItemTemplate="{Binding ItemTemplate, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
<ContentPresenter Grid.Row="2"
Content="{TemplateBinding ItemsFooter}" />
</Grid>
Expand Down

0 comments on commit c6adb94

Please sign in to comment.