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

🐛自定义表头样式,样式不生效 #2781

Closed
1 task
12144 opened this issue Jun 19, 2024 · 1 comment
Closed
1 task

🐛自定义表头样式,样式不生效 #2781

12144 opened this issue Jun 19, 2024 · 1 comment
Assignees
Labels
next 2.0-next 版本的问题

Comments

@12144
Copy link

12144 commented Jun 19, 2024

🏷 Version

Package Version
@antv/s2

Sheet Type

  • PivotSheet

🖋 Description

image

在官方示例的基础上,只加了text的配置,表头有部分没有应用自定义的样式,https://s2.antv.antgroup.com/zh/examples/theme/custom/#custom-transparent-background, 这个页面添加图里text的配置即可复现

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@github-actions github-actions bot added the next 2.0-next 版本的问题 label Jun 19, 2024
@lijinke666
Copy link
Member

text 对应不加粗的文本, 这里文档容易让人迷惑, 后续优化.

你截图的分别对应 维值 (加粗文本 bolderText) 数值 (度量值 measureText)

image

@lijinke666 lijinke666 self-assigned this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next 2.0-next 版本的问题
Projects
None yet
Development

No branches or pull requests

2 participants