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

Label文本过长、超过页面,显示PopoveViewr时、无法看到view #14

Open
a756177020 opened this issue May 15, 2023 · 3 comments

Comments

@a756177020
Copy link

image
当前可选显示位置为上方或下方、但label过长、会导致view显示位置在页面以外、所以需要有一个居中显示的类型

@maltsugar
Copy link
Owner

居中啥意思, 弹出的框在屏幕中间?

@a756177020
Copy link
Author

原来想的太复杂了、
现象:
image
例:y = -2000时,导致弹窗不会在页面上显示
后来做了:
image
让弹窗能显示出来
当然向下的也需要处理一下、、

@maltsugar
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