Does S2 support vertical top and bottom row headers? #2040
-
The default is vertical centering, I don't see the relevant configuration, please advise, thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not supported at the moment, can you tell me the usage scenario? |
Beta Was this translation helpful? Give feedback.
-
This is the experience optimization requirements proposed by the designer, and also some of the customers. Fortunately, I looked at the source code and rewrote the |
Beta Was this translation helpful? Give feedback.
This is the experience optimization requirements proposed by the designer, and also some of the customers. Fortunately, I looked at the source code and rewrote the
getAdjustPosition
method to implement this requirement. Here is observable notebook. Just change the boundary of the text and add some paddingY, perhaps I need to consider the baseline.