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"/>
|
TextWrapping="NoWrap"/>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
<HyperlinkButton x:Name="ScrollLeft"
|
<HyperlinkButton x:Name="ScrollLeft"
|
||||||
|
x:Uid="ScrollLeft"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Width="20"
|
Width="20"
|
||||||
MinWidth="20"
|
MinWidth="20"
|
||||||
|
@ -411,7 +412,7 @@
|
||||||
VerticalContentAlignment="Center"
|
VerticalContentAlignment="Center"
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
AutomationProperties.Name="ScrollLeft"
|
AutomationProperties.AutomationId="CalculationResultScrollLeft"
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<FontIcon x:Name="ScrollLeftText"
|
<FontIcon x:Name="ScrollLeftText"
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||||
|
@ -419,6 +420,7 @@
|
||||||
Glyph=""/>
|
Glyph=""/>
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
<HyperlinkButton x:Name="ScrollRight"
|
<HyperlinkButton x:Name="ScrollRight"
|
||||||
|
x:Uid="ScrollRight"
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
Width="20"
|
Width="20"
|
||||||
MinWidth="20"
|
MinWidth="20"
|
||||||
|
@ -430,7 +432,7 @@
|
||||||
VerticalContentAlignment="Center"
|
VerticalContentAlignment="Center"
|
||||||
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
Foreground="{ThemeResource SystemControlForegroundAccentBrush}"
|
||||||
BorderThickness="0"
|
BorderThickness="0"
|
||||||
AutomationProperties.Name="ScrollRight"
|
AutomationProperties.AutomationId="CalculationResultScrollRight"
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<FontIcon x:Name="ScrollRightText"
|
<FontIcon x:Name="ScrollRightText"
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue