Here is the code I have:
<ContentPage>
<ContentPage.Content>
<StackLayout Spacing="10" Margin="20">
<Label />
<Label />
<Label />
.....
<Label />
<Label />
</StackLayout>
</ContentPage.Content>
</ContentPage>
There are a large number of labels, so many that they go off the end of the screen. But the screen won't scroll. How can I make it scrollable?
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Label />
<Label />
<Label />
<Entry />
</StackLayout>
</ScrollView>
</ContentPage.Content>
If you only have Labels and they are pretty simple, why not use a ListView which has implicit scrolling? Otherwise Cole Xia is correct, wrap in a ScrollView
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With