Fixed narrator issues in KGF and GraphView button, updated Trig radio button corner radius (#1227)

* fixed the trig units radio buttons rounded corners and narrator issues in kgf and graph reset

* removed extra whitespace

* Update src/Calculator/Resources/en-US/Resources.resw

Co-authored-by: Eric Wong <eriwong@microsoft.com>

* Update src/Calculator/Resources/en-US/Resources.resw

Co-authored-by: Eric Wong <eriwong@microsoft.com>

Co-authored-by: Eric Wong <eriwong@microsoft.com>
This commit is contained in:
Stephanie Anderl
2020-05-26 09:34:45 -07:00
committed by GitHub
parent 143907f21f
commit 9a07755620
6 changed files with 30 additions and 13 deletions

View File

@@ -846,8 +846,9 @@ void GraphingCalculator::GraphViewButton_Click(Object ^ sender, RoutedEventArgs
}
else
{
GraphingControl->ResetGrid();
announcementText = AppResourceProvider::GetInstance()->GetResourceString(L"GraphViewAutomaticBestFitAnnouncement");
announcementText += AppResourceProvider::GetInstance()->GetResourceString(L"GridResetAnnouncement");
GraphingControl->ResetGrid();
}
auto announcement = CalculatorAnnouncement::GetGraphViewBestFitChangedAnnouncement(announcementText);

View File

@@ -172,7 +172,9 @@
Style="{StaticResource SubTitleTextBoxStyle}"
AutomationProperties.HeadingLevel="Level2"/>
<StackPanel AutomationProperties.LabeledBy="{Binding ElementName=UnitsHeading}" Orientation="Horizontal">
<StackPanel AutomationProperties.LabeledBy="{Binding ElementName=UnitsHeading}"
CornerRadius="4"
Orientation="Horizontal">
<RadioButton x:Name="Radians"
x:Uid="TrigModeRadians"
Style="{StaticResource TrigUnitsRadioButtonStyle}"

View File

@@ -218,7 +218,7 @@
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<Grid x:Uid="FunctionAnalysisGrid">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>