When you’re unsure how long some text in a text element is going to be, it can be difficult to figure out what width to set that element (e.g. if you want text bubbles in a messaging interface, the background color of the text bubble might not wrap neatly around that text and you might have extra space to the right or left of that text). We just posted a new Widget that uses some HTML to fit the background of a text depending on the length of the text itself. Check it out below!
For more info about the Widgets site, see this thread: Announcing launch of the Widgets site! Showcase your work and see how widgets are built
The AirDev Team