|
45 | 45 | Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" |
46 | 46 | Classes="time-input" Focusable="False" |
47 | 47 | assists:TextFieldAssist.Hints="{DynamicResource StringClockHourHintText}" |
48 | | - ShowButtonSpinner="False" ClipValueToMinMax="True" |
49 | | - FormatString="0" |
| 48 | + ClipValueToMinMax="True" |
50 | 49 | Minimum="{TemplateBinding TimeFormat, Converter={x:Static converters:AmPmRangeConverter.MinimumInstance}}" |
51 | 50 | Maximum="{TemplateBinding TimeFormat, Converter={x:Static converters:AmPmRangeConverter.MaximumInstance}}" |
52 | 51 | Value="{TemplateBinding controls:ClockInternals.Hours, Converter={x:Static converters:Int32ToDecimalConverter.Instance}, Mode=TwoWay}" /> |
|
59 | 58 | Grid.Row="0" Grid.Column="2" HorizontalAlignment="Left" |
60 | 59 | Classes="time-input" Focusable="False" |
61 | 60 | assists:TextFieldAssist.Hints="{DynamicResource StringClockMinuteHintText}" |
62 | | - ShowButtonSpinner="False" ClipValueToMinMax="True" |
63 | | - FormatString="0" |
64 | | - Minimum="0" Maximum="59" |
| 61 | + ClipValueToMinMax="True" Minimum="0" Maximum="59" |
65 | 62 | Value="{TemplateBinding controls:ClockInternals.Minutes, Converter={x:Static converters:Int32ToDecimalConverter.Instance}, Mode=TwoWay}" /> |
66 | 63 | <TextBlock x:Name="PART_MinutesSecondsSeparator" |
67 | 64 | Grid.Row="0" Grid.Column="3" |
|
74 | 71 | Classes="time-input" Focusable="False" |
75 | 72 | IsVisible="{TemplateBinding CanSelectSeconds}" |
76 | 73 | assists:TextFieldAssist.Hints="{DynamicResource StringClockSecondsHintText}" |
77 | | - ShowButtonSpinner="False" ClipValueToMinMax="True" |
78 | | - FormatString="0" |
79 | | - Minimum="0" Maximum="59" |
| 74 | + ClipValueToMinMax="True" Minimum="0" Maximum="59" |
80 | 75 | Value="{TemplateBinding controls:ClockInternals.Seconds, Converter={x:Static converters:Int32ToDecimalConverter.Instance}, Mode=TwoWay}" /> |
81 | 76 |
|
82 | 77 | <Border x:Name="PART_AmPmSelector" Grid.Row="0" Grid.Column="5" |
|
128 | 123 | <Style Selector="^ /template/ NumericUpDown.time-input"> |
129 | 124 | <Setter Property="Theme" Value="{StaticResource OutlineNumericUpDown}" /> |
130 | 125 | <Setter Property="Width" Value="96" /> |
| 126 | + <Setter Property="FontSize" Value="30" /> |
| 127 | + <Setter Property="FormatString" Value="0" /> |
| 128 | + <Setter Property="ShowButtonSpinner" Value="False" /> |
131 | 129 | <Style Selector="^.active"> |
132 | 130 | <Setter Property="Background" Value="{DynamicResource MaterialDividerBrush}" /> |
133 | 131 | <Setter Property="Foreground" Value="{DynamicResource MaterialPrimaryMidBrush}" /> |
|
0 commit comments