recipe view image fix (#47)
continuous-integration/drone/push Build is passing Details

pull/51/head
Leo TUAILLON 2 years ago
parent 113f1a70ca
commit 2ee1abdd69

@ -12,7 +12,9 @@
BackgroundColor="{StaticResource BackgroundSecondary}" BackgroundColor="{StaticResource BackgroundSecondary}"
Padding="10" Padding="10"
MinimumHeightRequest="175" MinimumHeightRequest="175"
MaximumHeightRequest="175"
MinimumWidthRequest="150" MinimumWidthRequest="150"
MaximumWidthRequest="150"
RowDefinitions="*, Auto"> RowDefinitions="*, Auto">
<Grid.GestureRecognizers> <Grid.GestureRecognizers>
<TapGestureRecognizer Tapped="OnRecipeTapped"/> <TapGestureRecognizer Tapped="OnRecipeTapped"/>
@ -23,7 +25,12 @@
StrokeShape="RoundRectangle 20" StrokeShape="RoundRectangle 20"
BackgroundColor="{StaticResource ImageBackground}"> BackgroundColor="{StaticResource ImageBackground}">
<Grid> <Grid>
<Image x:Name="RecipeImage" /> <Image x:Name="RecipeImage"
Aspect="AspectFill"
MinimumHeightRequest="155"
MinimumWidthRequest="130"
MaximumHeightRequest="155"
MaximumWidthRequest="130"/>
<HorizontalStackLayout <HorizontalStackLayout
x:Name="Stars" x:Name="Stars"
VerticalOptions="End" VerticalOptions="End"

Loading…
Cancel
Save