Tidy setup_view() method (updates #30365)