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

Text与 TSpan组件的 wordSpacing属性无效 #293

Open
cmdssd opened this issue Sep 6, 2024 · 0 comments
Open

Text与 TSpan组件的 wordSpacing属性无效 #293

cmdssd opened this issue Sep 6, 2024 · 0 comments

Comments

@cmdssd
Copy link
Contributor

cmdssd commented Sep 6, 2024

描述 / Description

设置Text与 TSpan组件的 wordSpacing属性没有展示出效果

demo

    <Svg width={400} height={100} >
      <SVGText x={10} y={20} >
        <TSpan y="20" x="10" wordSpacing={1} fontSize={12}>测试文本 wordSpacing1</TSpan>
      </SVGText>
    </Svg>
    <Svg width={400} height={100} >
      <SVGText x={10} y={20} wordSpacing={1}>
        <TSpan y="20" x="10" wordSpacing={4} fontSize={12}>测试文本 wordSpacing4</TSpan>
      </SVGText>
    </Svg>
    <Svg width={400} height={100} >
      <SVGText x={10} y={20} >
        <TSpan y="20" x="10" wordSpacing={10} fontSize={12}>测试文本 wordSpacing10</TSpan>
      </SVGText>
    </Svg>

356FB0F8-9AA2-4DDD-DFF8-5F612A2FB012

复现步骤 / Steps to reproduce

No response

库版本 / Library version

15.0.0-0.5.7

React Native OpenHarmony version

0.72.5

构建类型 / Build type

Debug app & dev bundle

设备 / Device

Real device

设备版本 / Device model

No response

已悉知 / Acknowledgements

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant