Hide tab widget content when set to hidden

When we set a tab widget to hidden we find it more clear to hide the content of the widget and leave only the widget title and config button