Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Need to apply word wrap for Xamarin.Forms Picker control text and its Popup list items

Hi
I'm using Xamarin.Froms Picker control to select set of questions with various text length.
The problem is once I selected any items, it just showing half of the sentence and remaining texts are truncated in the end of the right for all the platform.
Same time in popup, word wrap is only working for Android. Its not working for remaining platforms (iOS, UWP and WP8) and always truncating the text.
Is there any way to apply the word wrap for both picker and its popup list?

Posts

  • gabriel.6653gabriel.6653 USMember ✭✭

    Hi, if you are using a custom renderer can be the incorret inheritance.

    Use Xamarin.Forms.Platform.Android.AppCompat.PickerRenderer not Xamarin.Forms.Platform.Android.PickerRenderer

    Tks to https:// www. damirscorner.com/blog/posts/20201204-CustomPickerRendererOnAndroid.html

Sign In or Register to comment.