parent
4476c3df9a
commit
97d26ca37c
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Pages.CTableauScore">
|
||||
|
||||
<Frame BorderColor="Black" CornerRadius="5" Padding="0" BackgroundColor="Gray" VerticalOptions="Start" Margin="5" >
|
||||
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="10">
|
||||
<Label Grid.Column="0" Text="N°1" Margin="20" />
|
||||
<Label Grid.Column="1" Text="Joueur 1" Margin="20" />
|
||||
<Label Grid.Column="2" Text="5" Margin="20" />
|
||||
<Label Grid.Column="3" Text="10000" Margin="20" />
|
||||
</Grid>
|
||||
</Frame>
|
||||
</ContentView>
|
@ -0,0 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class CTableauScore : ContentView
|
||||
{
|
||||
public CTableauScore()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -1,22 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:mastermind.Pages"
|
||||
x:Class="mastermind.Pages.TableauScore"
|
||||
Title="TableauScore">
|
||||
<VerticalStackLayout>
|
||||
<Grid ColumnDefinitions="auto,2*,auto">
|
||||
<Image Source="stare.png" MaximumWidthRequest="100" Grid.Column="0" Margin="10" />
|
||||
<Label Grid.Column="1"
|
||||
Margin="10"
|
||||
Text="Tableaux des scores"
|
||||
FontSize="50"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center" />
|
||||
<Label />
|
||||
<Image Grid.Column="2" Source="stare.png" MaximumWidthRequest="100" />
|
||||
</Grid>
|
||||
<Rectangle HeightRequest="500" WidthRequest="500" Fill="Blue" Stroke="Red"></Rectangle>
|
||||
<ScrollView>
|
||||
<VerticalStackLayout>
|
||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround">
|
||||
<Image Source="star.png" WidthRequest="100" HorizontalOptions="End" VerticalOptions="Center"/>
|
||||
<Frame BorderColor="Black" CornerRadius="5" BackgroundColor="Black" Margin="10" HorizontalOptions="Center" VerticalOptions="Center">
|
||||
<Label Text="Scoreboard" HorizontalOptions="Center" FontSize="75" VerticalOptions="Start" Margin="0,10,0,10" />
|
||||
</Frame>
|
||||
<Image Source="star.png" WidthRequest="100" HorizontalOptions="Start" VerticalOptions="Center"/>
|
||||
</FlexLayout>
|
||||
<Frame Margin="5">
|
||||
<Grid ColumnDefinitions="auto,*,auto,auto" ColumnSpacing="15">
|
||||
<Label Margin="5" Grid.Column="0" Text="RANK"></Label>
|
||||
<Label Margin="5" Grid.Column="1" Text="PSEUDO" ></Label>
|
||||
<Label Margin="5" Grid.Column="2" Text="Nombre de coût Moyen" ></Label>
|
||||
<Label Margin="5" Grid.Column="3" Text="POINT" ></Label>
|
||||
</Grid>
|
||||
</Frame>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
<local:CTableauScore/>
|
||||
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 48 KiB |
Loading…
Reference in new issue