Replies: 4   Views: 167
Using vertical text with textdirection on paragraphs

Posted by dpassola  · 22-12-2023 - 09:46

We want to create a table with vertical text heading, meaning that the text of the first row is viertical oriented to the right. We can achieve this by either, creating and html table and setting attributes dir="tbLrV", or creating a paragraph and setting the option "textDirection" to "tbLrV". Both ways do create vertical text inside the cell, but the text breaks line multiple times because the cell height is tiny by default. Is there a way to tell the cell to expand to the text inside, even if it is vertical text? Or do we have to set an specific height to the cells?