You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the update to WinAppSDK 1.6, there is an inconsistency between TextBlock and TextBox controls regarding FontSize (and LineHeight when the FontSize is increased to match). This discrepancy results in misalignment and rendering issues, impacting the visual consistency of text across different controls.
Steps to reproduce the bug
Create a new application with WinAppSDK 1.6 and add the following XAML. Observe that the FontSize does not match.
rudyhuyn
changed the title
FontSize and LineHeight are not consistent between TextBlock and TextBox since WinAppSDK 1.6
FontSize is not consistent between TextBlock and TextBox since WinAppSDK 1.6
Sep 17, 2024
Describe the bug
Since the update to WinAppSDK 1.6, there is an inconsistency between TextBlock and TextBox controls regarding FontSize (and LineHeight when the FontSize is increased to match). This discrepancy results in misalignment and rendering issues, impacting the visual consistency of text across different controls.
Steps to reproduce the bug
Create a new application with WinAppSDK 1.6 and add the following XAML. Observe that the FontSize does not match.
Expected behavior
FontSize of TextBlock and TextBlock should be consistent
Screenshots
Red: TextBox
Blue: TextBlock
WinAppSDK 1.5:
WinAppSDK 1.6:
NuGet package version
Windows App SDK 1.6.0: 1.6.240829007
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: