diff --git a/demo/Ursa.Demo/Pages/DatePickerDemo.axaml b/demo/Ursa.Demo/Pages/DatePickerDemo.axaml index 65094c1..039389f 100644 --- a/demo/Ursa.Demo/Pages/DatePickerDemo.axaml +++ b/demo/Ursa.Demo/Pages/DatePickerDemo.axaml @@ -8,7 +8,7 @@ - - + + diff --git a/src/Ursa.Themes.Semi/Controls/DatePicker.axaml b/src/Ursa.Themes.Semi/Controls/DatePicker.axaml index 05c1357..eb5542a 100644 --- a/src/Ursa.Themes.Semi/Controls/DatePicker.axaml +++ b/src/Ursa.Themes.Semi/Controls/DatePicker.axaml @@ -42,6 +42,7 @@ BorderBrush="Transparent" BorderThickness="0" CornerRadius="{TemplateBinding CornerRadius}" + FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" InnerLeftContent="{TemplateBinding InnerLeftContent}" InnerRightContent="{TemplateBinding InnerRightContent}" @@ -76,8 +77,8 @@ Padding="8" Background="{DynamicResource ComboBoxPopupBackground}" BorderBrush="{DynamicResource ComboBoxPopupBorderBrush}" - BoxShadow="{DynamicResource ComboBoxPopupBoxShadow}" BorderThickness="{DynamicResource ComboBoxPopupBorderThickness}" + BoxShadow="{DynamicResource ComboBoxPopupBoxShadow}" CornerRadius="{DynamicResource CalendarCornerRadius}"> @@ -50,6 +51,7 @@ VerticalAlignment="Stretch" Background="Transparent" CornerRadius="0" + FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" InnerRightContent="{TemplateBinding InnerRightContent}" IsReadOnly="{TemplateBinding IsReadonly}" />