Embrace the flexible box model in the widgets

idem private here.