We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
因为弹出的菜单挡住了按钮,尝试改变y坐标作一个偏移 menu.contentFrame.origin.y -= 50
menu.contentFrame.origin.y -= 50
可以实现,但放在这行代码之后的样式设置就失效了,例如
menu.appearance.popMenuCornerRadius = 2 menu.appearance.popMenuColor.backgroundColor = .solid(fill: .purple)
通过测试menu.contentFrame.origin.y -= 50必须放在样式设置之后。
请问还有更好的办法来微调菜单的位置吗?谢谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
✔️ Issue Checklist
✍🏻 Issue Description
因为弹出的菜单挡住了按钮,尝试改变y坐标作一个偏移
menu.contentFrame.origin.y -= 50
可以实现,但放在这行代码之后的样式设置就失效了,例如
通过测试
menu.contentFrame.origin.y -= 50
必须放在样式设置之后。请问还有更好的办法来微调菜单的位置吗?谢谢
💻 Environment
The text was updated successfully, but these errors were encountered: