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

希望多行文本增加 wordWrapHeight 配置 #1726

Open
lijinke666 opened this issue Jul 9, 2024 · 0 comments
Open

希望多行文本增加 wordWrapHeight 配置 #1726

lijinke666 opened this issue Jul 9, 2024 · 0 comments
Labels

Comments

@lijinke666
Copy link
Member

目前只能通过 wordwrapwidthmaxlines 来自动换行, 无法感知高度, 在 S2 单元格宽高调整的场景不太实用, 希望能增加 height 的感知, 达到类似于 CSS height: auto 的效果, 即: maxlines 不再是一个固定的 number, 而是根据 wordwrapheight 动态计算

https://g.antv.antgroup.com/api/basic/text#wordwrapwidth

Kapture 2024-07-09 at 11 04 46

@lijinke666 lijinke666 changed the title 多行文本增加 wordWrapHeight 配置 希望多行文本增加 wordWrapHeight 配置 Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants