modification leaderboard page

pull/16/head
Lucas DUFLOT 1 year ago
parent 0c4d1781ae
commit a2ca2c57ff

@ -4,7 +4,9 @@
xmlns:view="clr-namespace:Trek_12.Views.component" xmlns:view="clr-namespace:Trek_12.Views.component"
x:Class="Trek_12.Views.PageLeaderBoard" x:Class="Trek_12.Views.PageLeaderBoard"
Title="PageLeaderBoard"> Title="PageLeaderBoard">
<VerticalStackLayout BackgroundColor="BlanchedAlmond"> <Grid BackgroundColor="BlanchedAlmond"
RowDefinitions="auto,6*,*">
<VerticalStackLayout>
<Label <Label
Text="Leader board" Text="Leader board"
VerticalOptions="Center" VerticalOptions="Center"
@ -14,17 +16,28 @@
Color="DarkSalmon" Color="DarkSalmon"
HeightRequest="1" HeightRequest="1"
WidthRequest="125"/> WidthRequest="125"/>
</VerticalStackLayout>
<ScrollView Grid.Row="1"
VerticalOptions="FillAndExpand"
VerticalScrollBarVisibility="Never"
Margin="0,10">
<VerticalStackLayout>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
<view:ContentLeaderBoard/> <view:ContentLeaderBoard/>
</VerticalStackLayout>
</ScrollView>
<Button Text="Back" <Button Text="Back"
BackgroundColor="OliveDrab" BackgroundColor="OliveDrab"
FontSize="Title" FontSize="Title"
Grid.Row="2"
HorizontalOptions="Start" HorizontalOptions="Start"
WidthRequest="200" CornerRadius="20"
Margin="10,20"/> WidthRequest="150"
</VerticalStackLayout> HeightRequest="75"
Margin="10"/>
</Grid>
</ContentPage> </ContentPage>
Loading…
Cancel
Save