Enhancement images
continuous-integration/drone/push Build is failing Details

pull/28/head
Matheo HERSAN 2 years ago
parent 0c846b993b
commit 31b260442d

@ -403,8 +403,8 @@
</Style> </Style>
<Style TargetType="ImageButton" x:Key="ImageAnime"> <Style TargetType="ImageButton" x:Key="ImageAnime">
<Setter Property="HeightRequest" Value="170" /> <Setter Property="HeightRequest" Value="130" />
<Setter Property="WidthRequest" Value="150" /> <Setter Property="WidthRequest" Value="110" />
<Setter Property="CornerRadius" Value="15" /> <Setter Property="CornerRadius" Value="15" />
<Setter Property="Aspect" Value="Fill" /> <Setter Property="Aspect" Value="Fill" />
</Style> </Style>

@ -44,8 +44,8 @@ public partial class homePage : ContentPage
ImageButton imageButton = new ImageButton ImageButton imageButton = new ImageButton
{ {
Source = favoris.Affiche, Source = favoris.Affiche,
WidthRequest = 150, WidthRequest = 170,
HeightRequest = 170, HeightRequest = 190,
CornerRadius = 15, CornerRadius = 15,
Aspect = Aspect.Fill, Aspect = Aspect.Fill,
AutomationId = indice.ToString(), AutomationId = indice.ToString(),

@ -37,12 +37,13 @@
<BindableLayout.ItemTemplate> <BindableLayout.ItemTemplate>
<DataTemplate> <DataTemplate>
<Grid Margin="20,0,20,0" ColumnDefinitions="*,*,300,300"> <Grid Margin="20,0,20,0" ColumnDefinitions="*,*,300,300">
<ImageButton Grid.Column="0" Source="{Binding Affiche}" BackgroundColor="#FFFFFF" WidthRequest="100" HeightRequest="100" HorizontalOptions="Start"/> <ImageButton Grid.Column="0" Source="{Binding Affiche}" Style="{StaticResource ImageAnime}" HorizontalOptions="Start"/>
<Label Grid.Column="1" Text="{Binding Nom}" FontSize="Medium" VerticalOptions="Center" Margin="15"/> <Label Grid.Column="1" Text="{Binding Nom}" FontSize="Medium" VerticalOptions="Center" Margin="15"/>
<Label Grid.Column="2" Text="4/5" VerticalOptions="Center" HorizontalOptions="Center"/> <Label Grid.Column="2" Text="4/5" VerticalOptions="Center" HorizontalOptions="Center"/>
<Label Grid.Column="3" Text="10/85" VerticalOptions="Center" HorizontalOptions="End"/> <Label Grid.Column="3" Text="10/85" VerticalOptions="Center" HorizontalOptions="End"/>
</Grid> </Grid>
</DataTemplate> </DataTemplate>
</BindableLayout.ItemTemplate> </BindableLayout.ItemTemplate>
</VerticalStackLayout> </VerticalStackLayout>
</ScrollView> </ScrollView>

Loading…
Cancel
Save