-
Notifications
You must be signed in to change notification settings - Fork 485
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
文字下面是图片,如果文字行数不确定,如何调整页面排版 #35
Comments
@houyanchao
|
@houyanchao 现在不写海报高度也是可以的,只是没有padding,但你可以写个透明的block撑开 |
@AJLoveChina 感谢帮忙回复 |
这样会存在一个问题,文字下方的图片,没法计算定位的x、y值 |
也是,有道理,这个功能再下个版本补上,预计周末发布 |
我遇到了这个问题 |
我找到一个解决方案,在view页面中计算出文本的高度,然后在绘制的时候,用这个高度就可以。如果有偏差,稍微调整下数值 |
文字有时候一行,有时候很多行,这样就会造成很多问题,1️⃣整个页面高度不确定 2️⃣文字下方的图片如何定位
The text was updated successfully, but these errors were encountered: