mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-03 00:00:55 +08:00
fix: add default FontWeight to TagLabel.
This commit is contained in:
@@ -173,6 +173,7 @@
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="Padding" Value="{DynamicResource LabelTagSmallPadding}" />
|
||||
<Setter Property="FontSize" Value="{DynamicResource LabelTagFontSize}" />
|
||||
<Setter Property="FontWeight" Value="{DynamicResource LabelTagFontWeight}" />
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate TargetType="Label">
|
||||
<ContentPresenter
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<x:Double x:Key="LabelTagSmallHeight">20</x:Double>
|
||||
<x:Double x:Key="LabelTagLargeHeight">24</x:Double>
|
||||
<StaticResource x:Key="LabelTagFontSize" ResourceKey="SemiFontSizeSmall" />
|
||||
<StaticResource x:Key="LabelTagFontWeight" ResourceKey="SemiFontWeightRegular" />
|
||||
<StaticResource x:Key="LabelTagSquareCornerRadius" ResourceKey="SemiBorderRadiusSmall" />
|
||||
<StaticResource x:Key="LabelTagCircleCornerRadius" ResourceKey="SemiBorderRadiusFull" />
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user