LineHeight property on label affects "invisible" line 0 and pushes all other texts down #11998
Labels
area-controls-label
Label, Span
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
Steps to Reproduce
Create a label and give it a line height:
Now, you see in the image, that the label does not sit in the middle of the background anymore. It would, if I were to remove the line height attribute. So even with liners of labels, they all get pushed down as if there would be a 0th line at the top.
This is clearly a bug in the loop that goes through each line and sepperates them
Link to public reproduction project repository
na
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
all
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: