Update Tabs widget

From #4341.