xaml/categ-page #18

Merged
antoine.perederii merged 6 commits from xaml/categ-page into master 2 years ago

@ -1,16 +1,32 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage 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"
xmlns:local="clr-namespace:Banquale.Views"
x:Class="Banquale.Views.CategoryPage" x:Class="Banquale.Views.CategoryPage"
Title="CategoryPage"> xmlns:local="clr-namespace:Banquale.Views"
Title="CategoryPage"
BackgroundColor="White">
<Grid RowDefinitions="*,*,*,*,*,*,*,*,*,*,*,*,2*">
<ImageButton Source="back_arrow_icon.svg" Grid.Row="0" HorizontalOptions="Start"/>
<local:CategoryView Grid.Row="2"/>
<local:CategoryView Grid.Row="3"/>
<local:CategoryView Grid.Row="4"/>
<local:CategoryView Grid.Row="5"/>
<local:CategoryView Grid.Row="6"/>
<local:CategoryView Grid.Row="7"/>
<local:CategoryView Grid.Row="8"/>
<local:CategoryView Grid.Row="9"/>
<local:CategoryView Grid.Row="10"/>
<local:CategoryView Grid.Row="11"/>
<VerticalStackLayout Grid.Row="12">
<BoxView HorizontalOptions="FillAndExpand"
HeightRequest="1.3"/>
</VerticalStackLayout>
<Grid>
<local:CategoryView/>
<local:CategoryView/>
<local:CategoryView/>
<local:CategoryView/>
<local:CategoryView/>
<local:CategoryView/>
</Grid> </Grid>
</ContentPage> </ContentPage>

@ -2,22 +2,20 @@
<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="Banquale.Views.CategoryView"> x:Class="Banquale.Views.CategoryView">
<VerticalStackLayout> <VerticalStackLayout>
<BoxView BackgroundColor="Black" <BoxView HorizontalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand" HeightRequest="1.3"/>
HeightRequest="1.3"
Margin="20, 0, 20, 0"/>
<Grid Margin="20, 5, 20, 5" <Grid Margin="20, 5, 20, 5"
HorizontalOptions="Fill"> HorizontalOptions="Fill">
<Label <Label
Text="catégorie" Text="Catégorie"
TextColor="Black"
HorizontalOptions="Center" HorizontalOptions="Center"
Margin="10, 0, 0, 0"/> VerticalOptions="Center"/>
</Grid> </Grid>
</VerticalStackLayout> </VerticalStackLayout>
</ContentView> </ContentView>

@ -42,11 +42,11 @@
</StackLayout> </StackLayout>
<!-- Version avec Grid (moins efficace quand on écrit dans les Entry--> <!-- Version avec Grid (moins efficace quand on écrit dans les Entry-->
<!--<Grid RowDefinitions="5*, 2*, *, 2*, 2*, 2*, 2*"> <!--<Grid RowDefinitions="5*, 2*, *, 2*, 2*, 2*, 2*">
--> --><!--<Grid.RowDefinitions>
<!--<Grid.RowDefinitions>
<RowDefinition Height="5*"/> <RowDefinition Height="5*"/>
<RowDefinition Height="2*"/> <RowDefinition Height="2*"/>
<RowDefinition Height="*"/> <RowDefinition Height="*"/>
@ -54,8 +54,7 @@
<RowDefinition Height="2*"/> <RowDefinition Height="2*"/>
<RowDefinition Height="2*"/> <RowDefinition Height="2*"/>
<RowDefinition Height="2*"/> <RowDefinition Height="2*"/>
</Grid.RowDefinitions>--> </Grid.RowDefinitions>--><!--
<!--
<Grid Grid.Row="1"> <Grid Grid.Row="1">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
@ -110,4 +109,11 @@
</Grid> </Grid>
</Grid>--> </Grid>-->
<<<<<<< HEAD
=======
>>>>>>> origin/master
</ContentPage> </ContentPage>

@ -29,10 +29,8 @@
</StackLayout>--> </StackLayout>-->
<Grid RowDefinitions="3*, 2*, *, 2*, *, 2*, 3*"> <Grid RowDefinitions="3*, 2*, *, 2*, *, 2*, 3*">
<Grid Grid.Row="1"> <Grid Grid.Row="1">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>

Loading…
Cancel
Save