Decorators topic

Decorators are special Attributes — they are unique in that they don't actually set a property on the widget itself, but on a parent widget.

For instance, it is not possible to set a property like 'scale' on a widget — you have to set scale on a Material parent instance to achieve it.

Decorators allow you to treat these kinds of properties as if they were on the widget itself: Mix takes care of parenting the target widget with an appropriate widget, and setting the corresponding property on that widget.

Decorators are added to the Mix object like any other Attribute.

Also, as with any other Attribute, there is a Utility class to create them, and associated Short Utils.