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

当从xml生成View时支持可变行高 #55

Open
lihongcoding opened this issue Jul 14, 2016 · 2 comments
Open

当从xml生成View时支持可变行高 #55

lihongcoding opened this issue Jul 14, 2016 · 2 comments

Comments

@lihongcoding
Copy link

demo中有一个自动行高的列子,但其中的cell是通过代码创建的。
我在xml文件中定义一个cell,然后添加到ITable中,然后修改cell中某个Label的文本,发现不支持可变的行高,是我的用法不对么?

@lihongcoding
Copy link
Author

我调整了下xml中元素的style中margin的值后,能正确计算出行高了。

@ideawu
Copy link
Owner

ideawu commented Jul 15, 2016

很高兴你解决了. 你这个case很有意思, 能否把出问题的xml和相关代码提供一下? 然后发一下解决后的代码.

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