As mentioned in issue 428, it would be nice to have the possibility to align the last line of multiline skeleton views (when not filling 100%) according to their text alignment property. This pull request proposes a solution where given the property textAlignment, the rectangle that represents the last line of a multiline layer is positioned accordingly. Only .center and .right alignments are taken into account, the fallback will always be to align left.
Requirements (place an x in each of the [ ])
[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
Summary
As mentioned in issue 428, it would be nice to have the possibility to align the last line of multiline skeleton views (when not filling 100%) according to their text alignment property. This pull request proposes a solution where given the property
textAlignment
, the rectangle that represents the last line of a multiline layer is positioned accordingly. Only.center
and.right
alignments are taken into account, the fallback will always be to align left.Requirements (place an
x
in each of the[ ]
)