-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
文字怎么自动换行 #5286
Labels
Comments
hi @Fzt1120, welcome! |
自动换行可以参考一下官网示例:https://g6-next.antv.antgroup.com/examples/item/label/#labelLen1 使用过程中还有任何疑问或问题,请随时再次开启 issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
G6 版本
5.x
问题描述
怎么可以让文字自动换行啊,除了\n换行符,vue3用的JSX自定义的节点,文字过长的话就会向右超出节点,设置过最大宽度,都不管用,还不能超出省略,好难为什么没有这个功能!
重现链接
.
重现步骤
需要给节点加个滚动条,超出文字自动换行
预期行为
需要给节点加个滚动条,超出文字自动换行
平台
屏幕截图或视频(可选)
需要给节点加个滚动条,超出文字自动换行
补充说明(可选)
需要给节点加个滚动条,超出文字自动换行
The text was updated successfully, but these errors were encountered: