Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.59k stars 1.11k forks source link

Feature/resize labels based on number of lines #344

Closed Juanpe closed 3 years ago

Juanpe commented 3 years ago

Summary

This PR adds a new feature. Now, text nodes calculated the desired height for the defined number of lines. If the desired height is less than the current height, the library updates the constraints to modify the height and restore when the skeleton hides.

Requirements