mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Added the x:uid tag for the buttons and also added the automationID
This commit is contained in:
parent
46d40cd297
commit
d512daad3e
1 changed files with 4 additions and 2 deletions
|
@ -400,6 +400,7 @@
|
|||
TextWrapping="NoWrap"/>
|
||||
</ScrollViewer>
|
||||
<HyperlinkButton x:Name="ScrollLeft"
|
||||
x:Uid="ScrollLeft"
|
||||
Grid.Column="0"
|
||||
Width="20"
|
||||
MinWidth="20"
|
||||
|
@ -411,7 +412,7 @@
|
|||
VerticalContentAlignment="Center"
|
||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
||||
BorderThickness="0"
|
||||
AutomationProperties.Name="ScrollLeft"
|
||||
AutomationProperties.AutomationId="CalculationResultScrollLeft"
|
||||
Visibility="Collapsed">
|
||||
<FontIcon x:Name="ScrollLeftText"
|
||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||
|
@ -419,6 +420,7 @@
|
|||
Glyph=""/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton x:Name="ScrollRight"
|
||||
x:Uid="ScrollRight"
|
||||
Grid.Column="2"
|
||||
Width="20"
|
||||
MinWidth="20"
|
||||
|
@ -430,7 +432,7 @@
|
|||
VerticalContentAlignment="Center"
|
||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
||||
BorderThickness="0"
|
||||
AutomationProperties.Name="ScrollRight"
|
||||
AutomationProperties.AutomationId="CalculationResultScrollRight"
|
||||
Visibility="Collapsed">
|
||||
<FontIcon x:Name="ScrollRightText"
|
||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue