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
menu高度能固定吗,像tableview一样,能上下滑动的?
添加了一个menuShowDefaultRows属性。
// FTConfiguration public var menuShowDefaultRows:Int = 0 fileprivate func configurePopMenuFrame() { //... if (arrowDirection == .Up) { popMenuFrame = CGRect(x: popMenuOriginX, y: (senderRect.origin.y + senderRect.size.height), width: configuration.menuWidth, height: popMenuHeight) if configuration.menuShowDefaultRows > 0 { let height = configuration.menuRowHeight * CGFloat(configuration.menuShowDefaultRows) + FTDefaultMenuArrowHeight popMenuFrame = CGRect(x: popMenuOriginX, y: (senderRect.origin.y + senderRect.size.height), width: configuration.menuWidth, height: height) } } }
The text was updated successfully, but these errors were encountered:
估计要改下源码就可以支持
Sorry, something went wrong.
No branches or pull requests
menu高度能固定吗,像tableview一样,能上下滑动的?
添加了一个menuShowDefaultRows属性。
The text was updated successfully, but these errors were encountered: