Embrace the flexible box model in the widgets

Done