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
:jst is the value you want to pass :ah. i verified that this works on text runs, but it does not operate on elems. this was not a feature we ever implemented, although i think the readme wrongly suggests this is something that should work since it is something we were planning to do at the time it was authored.
the reason this doesn't work out of the box is because text justification is done based on words, not individual characters. though all elems are set to display inline, the browser currently sees them as characters of the same word rather than as individual words because there's no space character between them for it to adjust in size.
i'm currently investigating a few options for implementing this`
Tried:
(elem :sh 200 :ah :justify (for [x [ 1 2 3]] (elem :s 10 x))))
(elem :sh 200 :ah :jst (for [x [ 1 2 3]] (elem :s 10 x))))
Does this attribute require absolute sizes or can it go in ratio-based containers?
The text was updated successfully, but these errors were encountered: