mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-30 05:03:23 +08:00
feat: replace discrete FontSize.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
x:DataType="x:String"
|
x:DataType="x:String"
|
||||||
FontSize="12"
|
FontSize="{DynamicResource CalendarItemWeekDayNameFontSize}"
|
||||||
Foreground="{DynamicResource CalendarItemWeekDayNameForeground}"
|
Foreground="{DynamicResource CalendarItemWeekDayNameForeground}"
|
||||||
Text="{Binding}" />
|
Text="{Binding}" />
|
||||||
</Template>
|
</Template>
|
||||||
|
|||||||
@@ -29,7 +29,6 @@
|
|||||||
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
||||||
<Setter Property="BackgroundSizing" Value="OuterBorderEdge" />
|
<Setter Property="BackgroundSizing" Value="OuterBorderEdge" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
|
||||||
<Setter Property="Cursor" Value="Ibeam" />
|
<Setter Property="Cursor" Value="Ibeam" />
|
||||||
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
||||||
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
||||||
@@ -237,7 +236,6 @@
|
|||||||
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
<Setter Property="BorderThickness" Value="{DynamicResource TextBoxBorderThickness}" />
|
||||||
<Setter Property="BackgroundSizing" Value="OuterBorderEdge" />
|
<Setter Property="BackgroundSizing" Value="OuterBorderEdge" />
|
||||||
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
<Setter Property="CornerRadius" Value="{DynamicResource TextBoxDefaultCornerRadius}" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
|
||||||
<Setter Property="Cursor" Value="Ibeam" />
|
<Setter Property="Cursor" Value="Ibeam" />
|
||||||
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
||||||
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
||||||
@@ -440,7 +438,6 @@
|
|||||||
<Setter Property="Foreground" Value="{DynamicResource TextBoxForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource TextBoxForeground}" />
|
||||||
<Setter Property="SelectionBrush" Value="{DynamicResource TextBoxSelectionBackground}" />
|
<Setter Property="SelectionBrush" Value="{DynamicResource TextBoxSelectionBackground}" />
|
||||||
<Setter Property="SelectionForegroundBrush" Value="{DynamicResource TextBoxSelectionForeground}" />
|
<Setter Property="SelectionForegroundBrush" Value="{DynamicResource TextBoxSelectionForeground}" />
|
||||||
<Setter Property="FontSize" Value="14" />
|
|
||||||
<Setter Property="Cursor" Value="Ibeam" />
|
<Setter Property="Cursor" Value="Ibeam" />
|
||||||
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
<Setter Property="CaretBrush" Value="{DynamicResource TextBoxTextCaretBrush}" />
|
||||||
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
<Setter Property="Padding" Value="{DynamicResource TextBoxContentPadding}" />
|
||||||
|
|||||||
@@ -126,7 +126,6 @@
|
|||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
FontSize="16"
|
|
||||||
Theme="{StaticResource DateTimePickerButton}">
|
Theme="{StaticResource DateTimePickerButton}">
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Width="12"
|
Width="12"
|
||||||
|
|||||||
@@ -9,4 +9,5 @@
|
|||||||
<StaticResource x:Key="CalendarItemCalendarDayButtonCornerRadius" ResourceKey="SemiBorderRadiusSmall" />
|
<StaticResource x:Key="CalendarItemCalendarDayButtonCornerRadius" ResourceKey="SemiBorderRadiusSmall" />
|
||||||
<x:Double x:Key="CalendarMinWidth">240</x:Double>
|
<x:Double x:Key="CalendarMinWidth">240</x:Double>
|
||||||
<x:Double x:Key="CalendarMinHeight">250</x:Double>
|
<x:Double x:Key="CalendarMinHeight">250</x:Double>
|
||||||
|
<StaticResource x:Key="CalendarItemWeekDayNameFontSize" ResourceKey="SemiFontSizeSmall" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
Reference in New Issue
Block a user