Added a UiFactory field for all widgets.

This enables custom appearances for all widgets.