purge the widgetcontainer
if some widgets should not be resizable, they should set that in their ctor