问题描述
所以基本上,当我尝试在 AbsoluteLayout
内调整我的框架时,我有一件烦人的事情:
<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>
当代码是这样的时候它很好但是当我尝试用 .LayoutBounds
调整框架的位置时它不会点击。我尝试将其更改为 StackLayout
并且单击事件有时会在框架内的各种不同位置触发。我已经放置了 ImageButton
,常规按钮,并尝试使用我的标签的 GestureRecognizer
,但是当我进行调整时它不会点击。
here is a gif of the situtation. the top frame isn't adjusted the bottom one is
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)