set determined select box bor layer, end size and orientation