VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] 自定义渲染设置 textAlign 对齐错位

Open libondev opened this issue 1 year ago • 1 comments

Version

1.19.7

Link to Minimal Reproduction

https://visactor.io/vtable/demo/custom-render/custom-render

Steps to Reproduce

为 type=text 的 element 添加 textAlign: 'right' 或者 'center'

Current Behavior

设置成 center/right 时渲染位置会超出预期位置

Expected Behavior

正确对齐

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

Image

libondev avatar Aug 26 '25 05:08 libondev

用customLayout吧 customRender淡化使用

fangsmile avatar Aug 28 '25 02:08 fangsmile