Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Bug, iOS, Label with StartAndExpand HorizontalOptions does not expand if multiline (word wrap)

$
0
0

Hello there,

Because a picture is worth a thousand words, let's start with this:
image

As you can see, I am trying to build rows with a left-aligned Label (LayoutOptions.StartAndExpand) and a right-aligned Switch (LayoutOptions.End). I am using an horizontal StackLayout.
This works well in all cases on Android but on iOS the label does not expand any more when the text contains line breaks due to word wrapping.

I have tried many things and played will the LayoutOptions but can't get it to work properly.

I suspect that this is a bug and I will file a report after testing a few more Xamarin Forms versions.

I was wondering if anyone had had the same problem.

I have attached the sample project (zip), using Xamarin.Forms 1.4.4.6392,

Regards,


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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