Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THE BORDER OF THE "PancakeView" CHANGE Thickness WHEN THE BOX IS PARTIALLY HIDDEN. #169

Open
Michele-94 opened this issue Jun 16, 2021 · 0 comments

Comments

@Michele-94
Copy link

this is the cod in the .xaml file.

<yummy:PancakeView x:Name="Love"
Grid.Row="0" Grid.Column="0"
VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" BackgroundColor="White" CornerRadius="40">

    <yummy:PancakeView.GestureRecognizers>
      <TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" NumberOfTapsRequired="1" CommandParameter="Love"/>
    </yummy:PancakeView.GestureRecognizers>

    <yummy:PancakeView.Border>
      <yummy:Border Color="#000000" Thickness="2"/>
    </yummy:PancakeView.Border>

    <yummy:PancakeView.Shadow>
      <yummy:DropShadow BlurRadius="7"/>
    </yummy:PancakeView.Shadow>

    <StackLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" Background="white">
      <Image VerticalOptions="CenterAndExpand" HorizontalOptions="CenterAndExpand" 
             Source="Love.png" Margin="0,20,0,0" WidthRequest="100" HeightRequest="100"/>
      <Label Text="Amore" VerticalOptions="End" HorizontalOptions="CenterAndExpand"
           TextColor="Black" TextTransform="Uppercase" FontSize="Title" FontAttributes="Bold" CharacterSpacing="0" HorizontalTextAlignment="Center" Margin="0,5,0,20"/>
    </StackLayout>
  </yummy:PancakeView>

The box is inside a grid cell and the grid are inside of a ScrollView, when user scrolls down the page, the box change the Thickness automatically when is partially hidden by the view. please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant