So basically I have an annoying thing when I'm trying to adjust my frame inside an AbsoluteLayout
such:
<AbsoluteLayout Grid.Column="4">
<Frame CornerRadius="20"
Padding="0"
BorderColor="#9f6b34"
Background="Transparent">
<Frame.GestureRecognizers>
<TapGestureRecognizer Tapped="fourthButton_Clicked"/>
</Frame.GestureRecognizers>
<Label Text="Classic and traditional"
Padding="35"
FontSize="40"
FontFamily="font2"
HorizontalTextAlignment="Center"
TextColor="#211717">
</Label>
</Frame>
When the code is like this it's fine but when I try to adjust the frames' position with .LayoutBounds
it just won't click. I've tried changing it to a StackLayout
and click event fires sometimes in various different positions inside the frame. I've put ImageButton
, regular button and also tried using my label's GestureRecognizer
but it just won't click when I made adjustments.
here is a gif of the situtation. the top frame isn't adjusted the bottom one is