Not finding what you are looking for? Request a recipe!
We override the existing functionality of the Label component and mix in some fancy markup parsing and a html truncateToFit component is born. And while we were at it, added the same functionality to the Text component as well allowing for truncateToFit to work for wrapped text.
BorderedText is a simple component that inherits from the Text component that allows for bordering. In addition to bordering, the BorderedText component allows for most of the styling implemented by the HaloBorder class including background coloring / alpha / image and corner radius and drop shadows ...
We need to find the whiteBox in the Container class and override its styling.