Skip to content

Commit 25bcb7a

Browse files
author
dansmor7
authored
Fix HyperlinkButton height (#6970)
1 parent a564c49 commit 25bcb7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/CommonStyles/HyperlinkButton_themeresources.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555

5656
<Style x:Key="DefaultHyperlinkButtonStyle" TargetType="HyperlinkButton">
5757
<Setter Property="Background" Value="{ThemeResource HyperlinkButtonBackground}" />
58+
<contract7Present:Setter Property="BackgroundSizing" Value="OuterBorderEdge" />
5859
<Setter Property="Foreground" Value="{ThemeResource HyperlinkButtonForeground}" />
5960
<Setter Property="BorderBrush" Value="{ThemeResource HyperlinkButtonBorderBrush}" />
6061
<Setter Property="BorderThickness" Value="{ThemeResource HyperlinkButtonBorderThemeThickness}" />
@@ -71,6 +72,7 @@
7172
<ControlTemplate TargetType="HyperlinkButton">
7273
<ContentPresenter x:Name="ContentPresenter"
7374
Background="{TemplateBinding Background}"
75+
contract7Present:BackgroundSizing="{TemplateBinding BackgroundSizing}"
7476
BorderBrush="{TemplateBinding BorderBrush}"
7577
BorderThickness="{TemplateBinding BorderThickness}"
7678
Content="{TemplateBinding Content}"

0 commit comments

Comments
 (0)