G6 icon indicating copy to clipboard operation
G6 copied to clipboard

文字右侧有一段空白

Open yinhunfeixue opened this issue 1 year ago • 1 comments

Describe the bug

  <Rect style={{ stroke: '#ff0000' }}>
                                <Text style={{ ...useTextStyle, fontFamily: 'iconfont', fontSize: 16 }}>{unescape('%ue6c5')} {count ? count.toString() : '0'}</Text>
</Rect>

image

未设置右侧间距,但是渲染出来却有一段空白

Your Example Website or App

暂无

Steps to Reproduce the Bug or Issue

见上图

Expected behavior

见上图

Screenshots or Videos

No response

Platform

  • OS: macos
  • Browser: chrome

Additional context

No response

yinhunfeixue avatar Jul 09 '22 07:07 yinhunfeixue

Text 设置 textAlign: 'center'

Yanyan-Wang avatar Jul 29 '22 02:07 Yanyan-Wang

尊敬的用户,您好。我们很重视您的 issue,但由于长时间没有答复,我们暂时认为这个问题已经解决。如果还有任何问题,请随时根据 issue 模版再开启新的 issue。

Yanyan-Wang avatar Aug 19 '22 09:08 Yanyan-Wang