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 TargetType="ImageButton" x:Key="ImageAnime">
<Setter Property="HeightRequest" Value="170" />
<Setter Property="WidthRequest" Value="150" />
<Setter Property="HeightRequest" Value="130" />
<Setter Property="WidthRequest" Value="110" />
<Setter Property="CornerRadius" Value="15" />
<Setter Property="Aspect" Value="Fill" />
</Style>

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

@ -37,12 +37,13 @@
<BindableLayout.ItemTemplate>
<DataTemplate>
<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="2" Text="4/5" VerticalOptions="Center" HorizontalOptions="Center"/>
<Label Grid.Column="3" Text="10/85" VerticalOptions="Center" HorizontalOptions="End"/>
</Grid>
</DataTemplate>
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
</ScrollView>

Loading…
Cancel
Save