feat: make sure separator is from correct level.

This commit is contained in:
rabbitism
2024-03-03 00:09:30 +08:00
parent 4d1d45579a
commit 39bc26c28e
4 changed files with 39 additions and 12 deletions

View File

@@ -17,6 +17,7 @@
<StackPanel Orientation="Horizontal">
<ContentPresenter Content="{TemplateBinding Icon}" />
<ContentPresenter Name="PART_ContentPresenter" Content="{TemplateBinding Content}"/>
<ContentPresenter Name="Separator" Content="{TemplateBinding Separator}"></ContentPresenter>
</StackPanel>
</Border>
</ControlTemplate>