setup view component sizes