diff --git a/demo/Ursa.Demo/Pages/TimePickerDemo.axaml b/demo/Ursa.Demo/Pages/TimePickerDemo.axaml index 7083ac4..5268b1b 100644 --- a/demo/Ursa.Demo/Pages/TimePickerDemo.axaml +++ b/demo/Ursa.Demo/Pages/TimePickerDemo.axaml @@ -1,13 +1,28 @@ - + - - - + + + + diff --git a/src/Ursa.Themes.Semi/Controls/TimePicker.axaml b/src/Ursa.Themes.Semi/Controls/TimePicker.axaml index d3f2259..ab05067 100644 --- a/src/Ursa.Themes.Semi/Controls/TimePicker.axaml +++ b/src/Ursa.Themes.Semi/Controls/TimePicker.axaml @@ -2,6 +2,7 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:converters="clr-namespace:Ursa.Converters;assembly=Ursa" + xmlns:iri="https://irihi.tech/shared" xmlns:u="https://irihi.tech/ursa"> @@ -102,6 +103,11 @@ + + + + + @@ -115,34 +121,61 @@ BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}" /> - + - - - + Background="Transparent" + BorderBrush="Transparent" + BorderThickness="0" + Foreground="{TemplateBinding Foreground}" + InnerLeftContent="{TemplateBinding InnerLeftContent}" + InnerRightContent="{TemplateBinding InnerRightContent}" + IsReadOnly="{TemplateBinding IsReadonly}" + Theme="{DynamicResource NoErrorTextBox}" + Watermark="{TemplateBinding Watermark}"> + + + + + + + + +