Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Using Forms 2.0.0 there appear to be issues related to truncation of labels within relative layouts:
- On iOS, ellipses are missing from the end of a label's text when they are put within a relative layout with "IsClippedToBounds" set to true and LineBreakMode is set to "TailTruncation" (see the attached "iOS_Label_Issue.png").
- On Android, labels are spilling over a relative layout if the labels RelativeLayout.XConstraint is set even if the "IsClippedToBounds" is set to true (see the attached "Android_Label_Issue.png").
- There seems to be some further inconsistency between the two platforms. If the RelativeLayout.XConstraint is not set, the labels are truncated on Android but the labels are not truncated on iOS. Which is the correct behavior?
Sample Code - https://gist.github.com/mattregul/c5f1d619ece4e3900170#file-loginpage-xaml
iOS Screenshot - https://gist.github.com/mattregul/c5f1d619ece4e3900170#gistcomment-1645329
Android Screenshot - https://gist.github.com/mattregul/c5f1d619ece4e3900170#gistcomment-1645331
**Build Date & Platform:**
Version Info - https://gist.github.com/mattregul/c5f1d619ece4e3900170#file-vs2015-version-info-cs
- Xamarin Forms (188.8.131.5290)
Created attachment 14208 [details]
Created attachment 14209 [details]
Thank you for the report
SHould be fixed in 2.2.0-pre1
I have checked this issue with xamarin.forms 2.2.0-pre1 and I am getting same on both android and iOS.
Hence closing this issue.