mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-03 00:00:55 +08:00
fix: specify Bold FontWeight to CalendarItemWeekDay.
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
x:DataType="x:String"
|
x:DataType="x:String"
|
||||||
FontSize="12"
|
FontSize="12"
|
||||||
|
FontWeight="{DynamicResource CalendarItemWeekDayNameFontWeight}"
|
||||||
Foreground="{DynamicResource CalendarItemWeekDayNameForeground}"
|
Foreground="{DynamicResource CalendarItemWeekDayNameForeground}"
|
||||||
Text="{Binding}" />
|
Text="{Binding}" />
|
||||||
</Template>
|
</Template>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<StaticResource x:Key="CalendarBorderThickness" ResourceKey="SemiBorderThicknessControl" />
|
<StaticResource x:Key="CalendarBorderThickness" ResourceKey="SemiBorderThicknessControl" />
|
||||||
<StaticResource x:Key="CalendarCornerRadius" ResourceKey="SemiBorderRadiusMedium" />
|
<StaticResource x:Key="CalendarCornerRadius" ResourceKey="SemiBorderRadiusMedium" />
|
||||||
<GridLength x:Key="CalendarItemWeekDayNameHeight">40</GridLength>
|
<GridLength x:Key="CalendarItemWeekDayNameHeight">40</GridLength>
|
||||||
|
<StaticResource x:Key="CalendarItemWeekDayNameFontWeight" ResourceKey="SemiFontWeightBold" />
|
||||||
<StaticResource x:Key="CalendarItemPreviousIconGlyph" ResourceKey="SemiIconChevronLeft" />
|
<StaticResource x:Key="CalendarItemPreviousIconGlyph" ResourceKey="SemiIconChevronLeft" />
|
||||||
<StaticResource x:Key="CalendarItemNextIconGlyph" ResourceKey="SemiIconChevronRight" />
|
<StaticResource x:Key="CalendarItemNextIconGlyph" ResourceKey="SemiIconChevronRight" />
|
||||||
<StaticResource x:Key="CalendarItemCalendarButtonSelectedFontWeight" ResourceKey="SemiFontWeightBold" />
|
<StaticResource x:Key="CalendarItemCalendarButtonSelectedFontWeight" ResourceKey="SemiFontWeightBold" />
|
||||||
|
|||||||
Reference in New Issue
Block a user