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

popoverConstraints 的minwidth, maxwidth好像无效 #81

Open
stoneLee81 opened this issue Jun 20, 2022 · 1 comment
Open

popoverConstraints 的minwidth, maxwidth好像无效 #81

stoneLee81 opened this issue Jun 20, 2022 · 1 comment

Comments

@stoneLee81
Copy link

我设置了popoverConstraints: BoxConstraints(minWidth:30, maxWidth: 300),
PopoverMenuItem(child: UITools.text("删除")),期望width可以适配文字的宽度,但运行发现,宽度是300

@Im-Kevin
Copy link
Owner

这个是由你的内容决定的,具体可以看我的例子

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

2 participants