I have an area of our page that I want to minimize to the side. When it is minimized, I want the area's "title" to appear rotated 90 degrees, but when I do it, it gets clipped to the unrotated height of the label, so it appears like this (the rotated text should read "Open Tasks Summary"):
Apparently, this is what is happening:
The section of the XAML that defines the label is below. I've tried several variations of Fill, FillAndExpand, StartAndExpand, etc. as well as setting the HeightRequest and WidthRequest properties. I've also done it without the StackLayout and with the Rotation being applied to the label and not the StackLayout and it always appears the same.
<StackLayout
HorizontalOptions="Fill"
VerticalOptions="Fill"
Rotation="90"
IsVisible="{Binding DetailMinimized}" >
<Label
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
LineBreakMode="NoWrap"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center"
Text="{Binding DetailTitle}"
IsVisible="{Binding DetailMinimized}" />
</StackLayout>
So what is the proper way to structure the XAML so that the full text is visible after rotation?


