How to skin a widget?

In order to get the right look-and-feel for your widget, we built the UWA templates. We advise you to base most of your code on those: this will ensure your widget always fits in the whole environment style.