Skip to content

Commit 71af343

Browse files
committed
Correct hyperlink fontsize for AcrylicBrushPage
1 parent 8ac6d97 commit 71af343

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/iNKORE.UI.WPF.Modern.Gallery/Pages/Controls/Windows/AcrylicPage.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
</ResourceDictionary>
2525
</Page.Resources>
2626
<StackPanel>
27-
<TextBlock TextWrapping="Wrap">
27+
<TextBlock TextWrapping="Wrap" FontSize="{DynamicResource {x:Static ui:ThemeKeys.BodyTextBlockFontSizeKey}}">
28+
<!--FontSize is a workaround to force Hyperlinks to use the correct font size.-->
29+
2830
Acrylic Brush might fall back to SolidColorBrush in certain scenarios.
2931
If you can't see the Acrylic effect, please refer to
3032
<Hyperlink NavigateUri="https://learn.microsoft.com/windows/apps/design/style/acrylic#usability-and-adaptability"

0 commit comments

Comments
 (0)