when NIAttributedLabel set "lineHeight" property, then "verticalTextAlignment" not work
winterSleep opened this issue · comments
Little_Ghost commented
when NIAttributedLabel set "lineHeight" property with:
[attributedString setTextAlignment:kCTTextAlignmentLeft lineBreakMode:kCTLineBreakByCharWrapping lineHeight:17];
and then I want the text align to vertical middle with:
(NIAttributedLabel *)label.verticalTextAlignment = NIVerticalTextAlignmentMiddle;