Label LineHeight causes bad layout under iOS #7222
Labels
area-controls-label
Label, Span
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
The given sample shows 2 identical labels except that label "Test2" has LineHeight=2.
Under Android, LineHeight only affects multi-line spacing (it correctly has no effect if there is only a single line of text).
Under iOS, LineHeight changes layout even when there is only a single line.
Regardless of which one if correct, the behavior should be the same under Android and iOS. It seems to me that the Android behavior is the correct one.
Steps to Reproduce
iOS produces the wrong result:
layoutbug12.zip
Version with bug
Release Candidate 3 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: