fix: set TabItem HorizontalContentAlignment to Left.

This commit is contained in:
Zhang Dian
2025-03-30 00:07:16 +08:00
parent 051b137121
commit 8e7581fbe7
2 changed files with 0 additions and 9 deletions

View File

@@ -100,7 +100,6 @@
BasedOn="{StaticResource {x:Type TabItem}}"
TargetType="TabItem">
<Style Selector="^[TabStripPlacement=Left]">
<Setter Property="HorizontalContentAlignment" Value="Right" />
<Setter Property="BorderThickness" Value="0 0 2 0" />
</Style>
</ControlTheme>
@@ -115,7 +114,6 @@
BasedOn="{StaticResource {x:Type TabItem}}"
TargetType="TabItem">
<Style Selector="^[TabStripPlacement=Right]">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="BorderThickness" Value="2 0 0 0" />
</Style>
</ControlTheme>
@@ -283,7 +281,6 @@
BasedOn="{StaticResource {x:Type TabItem}}"
TargetType="TabItem">
<Style Selector="^[TabStripPlacement=Left]">
<Setter Property="HorizontalContentAlignment" Value="Right" />
<Setter Property="BorderThickness" Value="0 0 2 0" />
</Style>
</ControlTheme>
@@ -298,7 +295,6 @@
BasedOn="{StaticResource {x:Type TabItem}}"
TargetType="TabItem">
<Style Selector="^[TabStripPlacement=Right]">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="BorderThickness" Value="2 0 0 0" />
</Style>
</ControlTheme>

View File

@@ -53,10 +53,6 @@
<Setter Property="Foreground" Value="{DynamicResource TabItemLineHeaderPointeroverForeground}" />
</Style>
</Style>
<Style Selector="^[TabStripPlacement=Right]">
<Setter Property="HorizontalContentAlignment" Value="Right" />
</Style>
</ControlTheme>
<ControlTheme
@@ -184,7 +180,6 @@
</Style>
</Style>
<Style Selector="^[TabStripPlacement=Right]">
<Setter Property="HorizontalContentAlignment" Value="Right" />
<Setter Property="Margin" Value="0 0 0 8" />
<Setter Property="CornerRadius" Value="0 3 3 0" />
<Style Selector="^:selected">