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

升级2.1.0-beta2后使用SimpleRowHeightStyleStrategy设置表头高度无效 #735

Closed
layou1989 opened this issue Oct 23, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@layou1989
Copy link

@test
public void testHeight() {
SimpleRowHeightStyleStrategy rowHeightStyleStrategy = new SimpleRowHeightStyleStrategy((short)150, (short)120);
EasyExcel.write("C:\Users\Administrator\Desktop\test2.xlsx", DemoData.class).
registerWriteHandler(rowHeightStyleStrategy)
.sheet("测试").doWrite(data());
}

升级了2.1.0-beta2后,使用SimpleRowHeightStyleStrategy 设置表头的高度,但是并未生效,内容高度生效了

image

@layou1989 layou1989 added the bug Something isn't working label Oct 23, 2019
@zhuangjiaju
Copy link
Collaborator

这个是个bug,已经在2.1.0-beta3修复

@layou1989
Copy link
Author

这个是个bug,已经在2.1.0-beta3修复

got it

@FunctionD
Copy link

实测2.0.1的head高度设置有效,.registerWriteHandler()的顺序不对所以不生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants