mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Updated hyperlink button to move text that should not be linked outside the hyperlink button
This commit is contained in:
parent
1fe8072e27
commit
5cd77c03c9
1 changed files with 9 additions and 11 deletions
|
@ -614,22 +614,20 @@
|
||||||
IsTabStop="False"
|
IsTabStop="False"
|
||||||
TabIndex="5"
|
TabIndex="5"
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<HyperlinkButton x:Name="CurrencyRefreshBlock"
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<HyperlinkButton x:Name="CurrencyRefreshBlock"
|
||||||
Foreground="{ThemeResource SystemControlHyperlinkBaseHighBrush}"
|
Foreground="{ThemeResource SystemControlHyperlinkBaseHighBrush}"
|
||||||
Click="CurrencyRefreshButton_Click"
|
Click="CurrencyRefreshButton_Click"
|
||||||
AutomationProperties.AccessibilityView="Raw">
|
AutomationProperties.AccessibilityView="Raw">
|
||||||
<HyperlinkButton.Content>
|
<Underline x:Uid="RefreshButtonText"/>
|
||||||
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}">
|
</HyperlinkButton>
|
||||||
<Underline>
|
<TextBlock Style="{ThemeResource CaptionTextBlockStyle}">
|
||||||
<Run x:Uid="RefreshButtonText"/>
|
|
||||||
</Underline>
|
|
||||||
<Run x:Name="Spacing" Text=" "/>
|
<Run x:Name="Spacing" Text=" "/>
|
||||||
<Run x:Name="CurrencySecondaryStatus"
|
<Run x:Name="CurrencySecondaryStatus"
|
||||||
FontWeight="SemiBold"
|
FontWeight="SemiBold"
|
||||||
Text=""/>
|
Text=""/>
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
</HyperlinkButton.Content>
|
</StackPanel>
|
||||||
</HyperlinkButton>
|
|
||||||
</ContentControl>
|
</ContentControl>
|
||||||
|
|
||||||
<!-- Offline TextBlock -->
|
<!-- Offline TextBlock -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue