Added control elements for vector type

Layout and widget visibility are broken.