mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
collapsed textbox and added headertext to the calendar picker element
This commit is contained in:
parent
47ce31cf8a
commit
450b8f1373
1 changed files with 2 additions and 9 deletions
|
@ -417,19 +417,13 @@
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<!-- From Date -->
|
<!-- From Date -->
|
||||||
<TextBlock x:Name="Date_FromLabel"
|
|
||||||
x:Uid="Date_FromLabel"
|
|
||||||
Grid.Row="1"
|
|
||||||
Margin="0,0,0,2"
|
|
||||||
Foreground="{ThemeResource SystemControlPageTextBaseHighBrush}"
|
|
||||||
TextWrapping="Wrap"/>
|
|
||||||
<CalendarDatePicker x:Name="DateDiff_FromDate"
|
<CalendarDatePicker x:Name="DateDiff_FromDate"
|
||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
||||||
AutomationProperties.LabeledBy="{x:Bind Date_FromLabel}"
|
|
||||||
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
||||||
Closed="CalendarFlyoutClosed"
|
Closed="CalendarFlyoutClosed"
|
||||||
DateChanged="FromDate_DateChanged"/>
|
DateChanged="FromDate_DateChanged"
|
||||||
|
Header="From"/>
|
||||||
|
|
||||||
<!-- To Date -->
|
<!-- To Date -->
|
||||||
<TextBlock x:Name="Date_ToLabel"
|
<TextBlock x:Name="Date_ToLabel"
|
||||||
|
@ -502,7 +496,6 @@
|
||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
Margin="0,0,0,0"
|
Margin="0,0,0,0"
|
||||||
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
Style="{StaticResource DateCalculation_CalendarPickerStyle}"
|
||||||
AutomationProperties.LabeledBy="{x:Bind Date_FromLabel}"
|
|
||||||
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
CalendarViewStyle="{StaticResource DateCalculation_CalendarViewStyle}"
|
||||||
Closed="CalendarFlyoutClosed"
|
Closed="CalendarFlyoutClosed"
|
||||||
DateChanged="AddSubtract_DateChanged"/>
|
DateChanged="AddSubtract_DateChanged"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue