-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-labelLabel, SpanLabel, Spani/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowsregressed-in-10-rc2s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Description
Description
When setting a LineHeight to a Label , text alignment not same in .NET 9 and .NET 10
.NET 9 :
.NET 10:
Steps to Reproduce
- Create a MAUI app in both version .NET 9 and .NET 10.
- Here is the Label configuration done in sample , attach this code snippent in both version and run
<Label Text="Stop responding" LineHeight="1.8" HorizontalOptions="Center" HorizontalTextAlignment="Center" VerticalOptions="Center" VerticalTextAlignment="Center" Background="Orange"> </Label>
- Observe the text alignment: the text does not appear the same on both versions.
Link to public reproduction project repository
No response
Version with bug
10.0.0-rc.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.19041.0
Did you find any workaround?
No
Relevant log output
Metadata
Metadata
Assignees
Labels
area-controls-labelLabel, SpanLabel, Spani/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionplatform/windowsregressed-in-10-rc2s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working