mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-23 06:25:19 -07:00
collpased textbox from both To and From calendar picker used headertext instead
This commit is contained in:
parent
450b8f1373
commit
e8c2b2405e
1 changed files with 2 additions and 8 deletions
|
@ -426,20 +426,14 @@
|
||||||
Header="From"/>
|
Header="From"/>
|
||||||
|
|
||||||
<!-- To Date -->
|
<!-- To Date -->
|
||||||
<TextBlock x:Name="Date_ToLabel"
|
|
||||||
x:Uid="Date_ToLabel"
|
|
||||||
Grid.Row="4"
|
|
||||||
Margin="0,0,0,2"
|
|
||||||
Foreground="{ThemeResource SystemControlPageTextBaseHighBrush}"
|
|
||||||
TextWrapping="Wrap"/>
|
|
||||||
<CalendarDatePicker x:Name="DateDiff_ToDate"
|
<CalendarDatePicker x:Name="DateDiff_ToDate"
|
||||||
Grid.Row="5"
|
Grid.Row="5"
|
||||||
Margin="0,0,0,0"
|
Margin="0,0,0,0"
|
||||||
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
||||||
AutomationProperties.LabeledBy="{x:Bind Date_ToLabel}"
|
|
||||||
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
||||||
Closed="CalendarFlyoutClosed"
|
Closed="CalendarFlyoutClosed"
|
||||||
DateChanged="ToDate_DateChanged"/>
|
DateChanged="ToDate_DateChanged"
|
||||||
|
Header="To"/>
|
||||||
|
|
||||||
<!-- Difference Result -->
|
<!-- Difference Result -->
|
||||||
<TextBlock x:Uid="Date_DifferenceLabel"
|
<TextBlock x:Uid="Date_DifferenceLabel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue