ownRecipe and Mylist component fix
continuous-integration/drone/push Build is passing Details

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

@ -1,7 +1,8 @@
<?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="ShoopNCook.Views.OwnedRecipeView">
x:Class="ShoopNCook.Views.OwnedRecipeView"
Margin="6,2">
<Border
Style="{StaticResource SecondaryBorderShadow}"
StrokeShape="RoundRectangle 30">
@ -11,6 +12,8 @@
Padding="10"
MinimumHeightRequest="175"
MinimumWidthRequest="150"
MaximumHeightRequest="175"
MaximumWidthRequest="150"
RowDefinitions="*, Auto">
<Grid.GestureRecognizers>
@ -25,7 +28,12 @@
StrokeShape="RoundRectangle 20"
BackgroundColor="{StaticResource ImageBackground}">
<Grid>
<Image x:Name="RecipeImage" />
<Image x:Name="RecipeImage"
MinimumHeightRequest="175"
MinimumWidthRequest="150"
MaximumHeightRequest="175"
MaximumWidthRequest="150"
Aspect="AspectFill"/>
<HorizontalStackLayout
x:Name="Stars"
VerticalOptions="End"

@ -1,7 +1,8 @@
<?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="ShoopNCook.Views.RecipeView">
x:Class="ShoopNCook.Views.RecipeView"
Margin="4,2">
<Border

@ -23,9 +23,11 @@
Grid.Row="0"
Stroke="Transparent"
StrokeShape="RoundRectangle 20"
MaximumHeightRequest="300"
BackgroundColor="{StaticResource ImageBackground}">
<Grid>
<Image x:Name="RecipeImage"/>
<Image x:Name="RecipeImage"
Aspect="AspectFill"/>
<HorizontalStackLayout
x:Name="Stars"
VerticalOptions="End"

@ -50,6 +50,7 @@
StrokeShape="RoundRectangle 20"
BackgroundColor="{StaticResource ImageBackground}">
<Image
Aspect="AspectFill"
HeightRequest="250"
x:Name="RecipeImage"/>
</Border>

Loading…
Cancel
Save