[Bug] Options toolbox.emphasis.iconStyle textPosition and textAlign don't work
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
lastest
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple&lang=ts&code=PYBwLglsB2AEC8sDeAoWszGAGwEbAA8AuZNdWAMwFMBDMAVwCcqTVzyBbATwDFaHmrMu3RUOIABY0AzhGlCRIiAGMYAZTBdsLUosVgqBMAAVgsyDBIBybRTBWANLAD0z2ABFgVadCthYAO7AjADWwnroBkYAgtgQAObQ1rb2Tq4eXj5-gcFhEegAvuHsBQ7F5NISwAEkYIz0VGURkGDa1gCyXLB8dExUGBCtVAA60FzesOPSjuXoKpawViB0EkSu7QAsAMwATAB0GwCsDocAnIcHGxvKAAwO-wCMAOxPALQbewBsnw8On3sADh2rweDz2Wxux3-QOUr3-GyexxuILBEM-7z2h0-b1B4Ju6OhO2kHwBh2B0IeOwcuLRcMBlIAwhsdk9ARtfocAQCvrsHNt9kcqWctnsHqdfvyDsczhcrhsADKSo4nc6XDYAL1gmx2YIeh2lANOgKen1hIpuN1ODmRso2APuB3Or1t9ouhyeRIFWytbo9J0ursxHuU5t-d1tp1eAvO_qukd9OyZO3-nxuGxV-y2TwlOw-D0-BqNAJNfJ1ov1J0Nxs-irLesL1c12t1G0-KrBhoesLB4rbyJFCOpmMNrwHTwcIsOG1OtyH5ytYP16cndonB3HK4B0gHn0ji8Na9bkc3SY-P3TwvXVuZ5s-QvFgPFpZbbbOHfFtZf7cfD3VzdFrbfp2MwROk6SeLA0DAGAEgQNA8SwDAsDKHEyghHssAAOqDFU9D-DBciwAAJlQFBwVQRFOIMyGMDIEjeLMiHQChKghCQAAUACUCAAHzIEUiilOU6QAJIULAImwDQRFEVJGBYNgsDsVQewIbg9SVJxTgwf00iaNo0iIeJ3DIfQenABwlD8H0UkgCA2BdOxuB4Rg9GwAARCk7mwCAZiDFA0BwQhhF6RA2CKQEVAQIwRGceU6lmas_FNOQAmwEJ6AENEBByAo5CaCAOhWModBUPEwRcCB5BEXQNAkAA2lY7QwI4iwACoNK1ViYRRXVtRI9BdTwjAQF1ah0GN9C-AAumQGWTNluW6PlXCFdYABuNDYJ1c0pdIVAjd4DXhGwIg1WAdWwPVep3LAOwQk4Oy5o9Dz2rADxbMc72DndqbTSl7AFUVcTQFQVjhGls0FAA3EAA
### Steps to Reproduce
1. Open the minimal Reproduction
2. Update the values of `toolbox.emphasis.iconStyle.textPosition` and/or `toolbox.emphasis.iconStyle.textAlign`
### Current Behavior
Updating the values of `textPosition` and `textAlign` does nothing.
- `textPosition` is always at the bottom of the icon
- `textAlign` looks to be always "right"
### Expected Behavior
- Updating `toolbox.emphasis.iconStyle.textPosition` should change the position of the text relative to the icon.
- Updating `toolbox.emphasis.iconStyle.textAlign` should change the alignment of the text.
### Environment
```markdown
- OS: Linux
- Browser: Firefox
- Framework: React
```
### Any additional comments?
When I add other features (like brush), the icons on the left seem to reflect the update (the left positioning is still weird), but the icons on the right do not.
Contributor guide
Assessment
This issue has not been assessed yet.