LogicFlow icon indicating copy to clipboard operation
LogicFlow copied to clipboard

[Feature Request]边文本使用ellipse,希望设置最大宽度,文本小于最大宽度自适应

Open kanamegin opened this issue 2 years ago • 1 comments

QQ图片20230920173419

问题描述

边文本使用ellipse,设置textWidth,文本宽度小于textWidth时,显示效果不佳

提案

希望支持设置最大宽度,文本小于最大宽度自适应

kanamegin avatar Sep 20 '23 09:09 kanamegin

目前有两种方式可以尝试解决

  1. 样式覆盖
  2. 自定义边,重写getTextStyle

wumail avatar Oct 31 '23 03:10 wumail