if !top.nil? && !bottom.nil?
        frame.origin.y = top
        if options[:height_to_fit].nil? && height.nil?
          height = max_height - top - bottom
        end