You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vertical align will change how the whole paragraph appaers within it's bounding box but doesn't work on each line. I've honestly never tried this before and I'm not sure whether it should be considered a bug.
You might try adjustBaseline to bush the line down to the middle
code:
const t = new TaggedText('hello world', {
default: {
wordWrap: true,
wordWrapWidth: 50,
valign: 'middle',
lineHeight: 50
}
}, { debug: true })
I got
But I want the text in vertical middle.
Sorry for my poor english.
The text was updated successfully, but these errors were encountered: