Sam*_*tar 2 xamarin xamarin.forms
这是我的代码:
<ContentPage>
<ContentPage.Content>
<StackLayout Spacing="10" Margin="20">
<Label />
<Label />
<Label />
.....
<Label />
<Label />
</StackLayout>
</ContentPage.Content>
</ContentPage>
Run Code Online (Sandbox Code Playgroud)
有很多标签,很多标签都会脱离屏幕的最后.但屏幕不会滚动.如何使其可滚动?
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Label />
<Label />
<Label />
<Entry />
</StackLayout>
</ScrollView>
</ContentPage.Content>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2664 次 |
| 最近记录: |