I have added Label inside StackLayout. I have set HeightRequest for StackLayout and long text for Label.
I want to crop the exceed text in label. But it gets rendered outside of StackLayout. How to restrict that.
I don't want to set HeightRequest for Label.
<StackLayout Margin="10" HeightRequest="42" BackgroundColor="Yellow">
<Label VerticalOptions="Center" Text="A minimum 5 characters password contains a combination of uppercase and lowercase letter and number are required. A minimum 5 characters password contains a combination of uppercase and lowercase letter and number are required."/>
</StackLayout>