Renommage de fichiers et création d'un dossier pour réunir les composants (ContentViews)

pull/35/head
Rémi LAVERGNE 1 year ago
parent aff08f349c
commit c1418d43fb
No known key found for this signature in database
GPG Key ID: CA264B55E97FD220

@ -1,46 +1,46 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.component.ContentLeaderBoard"> x:Class="Trek_12.Views.Components.ContentLeaderBoard">
<Grid ColumnDefinitions="auto,*,*,*,*" <Grid ColumnDefinitions="auto,*,*,*,*"
RowDefinitions="*,*" RowDefinitions="*,*"
Margin="0,20"> Margin="0,20">
<Frame Margin="10" <Frame Margin="10"
BorderColor="Black" BorderColor="Black"
CornerRadius="50" CornerRadius="50"
HeightRequest="60" HeightRequest="60"
WidthRequest="60" WidthRequest="60"
IsClippedToBounds="True" IsClippedToBounds="True"
HasShadow="True"> HasShadow="True">
<Image Source="profile.jpg" <Image Source="profile.jpg"
Aspect="AspectFill" Aspect="AspectFill"
Margin="-20"/> Margin="-20"/>
</Frame> </Frame>
<Label Text="Kiwi6026" <Label Text="Kiwi6026"
Grid.Column="1" Grid.Column="1"
VerticalOptions="Center" VerticalOptions="Center"
FontSize="Title" FontSize="Title"
TextColor="DarkSalmon" TextColor="DarkSalmon"
Margin="10,0"/> Margin="10,0"/>
<Label Text="nbParties" <Label Text="nbParties"
Grid.Column="2" Grid.Column="2"
VerticalOptions="Center" VerticalOptions="Center"
FontSize="Title" FontSize="Title"
TextColor="DarkSalmon"/> TextColor="DarkSalmon"/>
<Label Text="map" <Label Text="map"
Grid.Column="3" Grid.Column="3"
VerticalOptions="Center" VerticalOptions="Center"
FontSize="Title" FontSize="Title"
TextColor="DarkSalmon"/> TextColor="DarkSalmon"/>
<Label Text="bestScore" <Label Text="bestScore"
Grid.Column="4" Grid.Column="4"
VerticalOptions="Center" VerticalOptions="Center"
FontSize="Title" FontSize="Title"
TextColor="DarkSalmon"/> TextColor="DarkSalmon"/>
<BoxView Color="DarkSalmon" <BoxView Color="DarkSalmon"
Grid.Row="1" Grid.Row="1"
HeightRequest="1" HeightRequest="1"
WidthRequest="700" WidthRequest="700"
Grid.ColumnSpan="5"/> Grid.ColumnSpan="5"/>
</Grid> </Grid>
</ContentView> </ContentView>

@ -1,9 +1,9 @@
namespace Trek_12.Views.component; namespace Trek_12.Views.Components;
public partial class ContentLeaderBoard : ContentView public partial class ContentLeaderBoard : ContentView
{ {
public ContentLeaderBoard() public ContentLeaderBoard()
{ {
InitializeComponent(); InitializeComponent();
} }
} }

@ -0,0 +1,23 @@
<?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="Trek_12.Views.Components.viewsProfils">
<VerticalStackLayout>
<Grid ColumnDefinitions="*,*,*,*" >
<Frame Margin="10"
Grid.Column="1"
BorderColor="Black"
CornerRadius="50"
HeightRequest="60"
WidthRequest="60"
IsClippedToBounds="True"
HasShadow="True"
HorizontalOptions="CenterAndExpand">
<Image Source="profile.jpg"
Aspect="AspectFill"
Margin="-20"/>
</Frame>
<Label Text="Profile n°*" Grid.Column="2" TextColor="Black" FontSize="Large" HorizontalTextAlignment="Center" Margin="100"/>
</Grid>
</VerticalStackLayout>
</ContentView>

@ -0,0 +1,9 @@
namespace Trek_12.Views.Components;
public partial class viewsProfils : ContentView
{
public viewsProfils()
{
InitializeComponent();
}
}
Loading…
Cancel
Save