Moves sizing of actual widget to the widget directive