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
I seems that it's not properly respecting lineSpacings of Bullet-Point-Lists?!?
We are using non-default lineSpacings and noticed that the lists aren't quite the same. So I dug a bit into the code and noticed in ListAttributedStringLayoutBlockBuilder.swift in function getBulletIndentingAttributesForLevel when creating the paragraphStyle the lineSpacing isn't set. I fixed it by adding the line
There is indeed something going wrong with LineSpacing not being correctly set for Lists.
After some more investigating based on your remarks I found that starting from #63 the lineHeight has been added, but no default implementation has been added.
We will look further into this, to see what is more clear naming wise and how this should be setup.
I seems that it's not properly respecting lineSpacings of Bullet-Point-Lists?!?
We are using non-default lineSpacings and noticed that the lists aren't quite the same. So I dug a bit into the code and noticed in
ListAttributedStringLayoutBlockBuilder.swift
in functiongetBulletIndentingAttributesForLevel
when creating theparagraphStyle
thelineSpacing
isn't set. I fixed it by adding the lineand now it's working as expected.
I guess it's a bug in marky-mark?!?
Also... shouldn't
lineHeight
inLineHeightStylingRule
be calledlineSpacing
?The text was updated successfully, but these errors were encountered: