Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Bug in Label.LineBreakMode ?

$
0
0

Hi,

I'm having a lot of trouble to display text in my application with correct wordwrapping (LineBreakMode.WordWrap) . If I set the Label.Text directly in the XAML, there is no problem, it shows correctly. But if I take the same text, assign it to a variable in my ViewModel, and then databind the Label.Text to this variable, all of a sudden, the WordWrap is ignored, and it uses what looks like CharacterWrap. (But if i set it to truncation, it does truncate !)

I was going to add an image, but I'm getting "You have to be around for a little while longer before you can post links."

(Although I posted this message already over a year ago : forums.xamarin.com/discussion/75839/problem-with-word-wrapping-with-xamarin-forms-label - how long do I have to wait to be able to post an image ?)

any ideas ? This is with the latest Xamarin.Forms nuget, and I get it for both iOS and Android ...


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>