mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-19 16:06:35 +08:00
fix: set TabItem HorizontalContentAlignment to Left.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user