// If the label takes more than one line, reposition it related to the type label ("name label" is above "type label")
if (labelName.height > 16) {
// the widget is the one that contains the two labels
labelName.bottomAnchor.Set(widget.transform, (16.0f + labelType.height) / widget.height, 0.0f);
labelName.ResetAndUpdateAnchors();
labelType.topAnchor.Set(widget.transform, (11.0f + labelType.height) / widget.height, 0.0f);
labelType.ResetAndUpdateAnchors();
}
// The values 16 and 11 contain the upper+middle+bottom padding of each label inside the widget