-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text line not displayed in RichText #3117
Labels
bug
Something isn't working
Milestone
Comments
3 tasks
This should be resolved on develop |
andydotxyz
added
bug
Something isn't working
and removed
unverified
A bug that has been reported but not verified
labels
Oct 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug:
In a RichText, when adding an Inline TextSegment{} with a .Text finishing with a line break (\r\n or \n) ; and just after, a TextSegment{} that have a multiline .Text (containing \r\n or \n), then the first line of that second TextSegment{} is not displayed.
It can get displayed after resetting the Segments and calling Refresh on the RichText
To Reproduce:
Run the code
Screenshots:
Example code:
Device (please complete the following information):
Workaround
I noticed that you can avoid this bug by removing the trailing \r\n from the title, and placing it the begening of the multiline text
The text was updated successfully, but these errors were encountered: