Implemented a little mixin module for width and height state properties for widgets that are bound to the width and height style properties of the root node. Simple as that.
These modules are mixins - not classes.