-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Label Truncation and MaxLines options do not work when combined #20128
Comments
Can you test with the latest nightly build? |
Hi @MitchBomcanhao. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
@MitchBomcanhao can we close this issue? |
Description
This is not a new issue, it has been reported multiple times over the years, hasn't been fixed, and the previous bugs have been closed as if things were fixed.
see
I have found other issues in maui where properties set in xaml are simply not being applied to the controls (mainly when dealing with implicit styles, where some properties have no effect) so I'm wildly speculating this will be a similar issue. when setting up truncation properties, the maxlines setting is likely not getting set at all.
I've reproduced this on Windows and the older bugs also mention iOS and Android so I'm sure they'll also be broken.
Steps to Reproduce
In my case, I have a label set with
LineBreakMode="TailTruncation" MaxLines="2"
and it is rendered with a single truncated line.If you want more details, be sure to check the referenced bugs above which have not been resolved.
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: