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

Good Funcation #2

Open
boyXiong opened this issue Jul 31, 2019 · 8 comments
Open

Good Funcation #2

boyXiong opened this issue Jul 31, 2019 · 8 comments

Comments

@boyXiong
Copy link

能开发一个 收起的 功能吗,谢谢

@duyi56432
Copy link
Owner

duyi56432 commented Aug 1, 2019 via email

@boyXiong
Copy link
Author

boyXiong commented Aug 1, 2019

需要一个 Lable 放入一个 cell, 2行显示文字, 点击展开,就展开整个文章, 然后外部知道 现在的高度, 同时 展开后,显示 "收起", 点击 收起,就收起 到原来的样子,动态改变 Lable 的 numberOfLines, 和 高度, 谢谢,如果开发出这个功能 真👍

@duyi56432
Copy link
Owner

duyi56432 commented Aug 1, 2019 via email

@boyXiong
Copy link
Author

boyXiong commented Aug 1, 2019

图的话,没有,"收起" 的位置,就是文字展开后,显示在 文字最后面一行的 末尾处,就可以了

@duyi56432
Copy link
Owner

duyi56432 commented Aug 1, 2019 via email

@boyXiong
Copy link
Author

boyXiong commented Aug 1, 2019

如果最后一行 刚好占满,就放到下一行末尾,前面空白,然后可以告诉外界 Lable需要的高度

@duyi56432
Copy link
Owner

duyi56432 commented Aug 1, 2019 via email

@boyXiong
Copy link
Author

boyXiong commented Aug 1, 2019

👍 牛皮 ,谢谢, relv@qq.com

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