introduce layout_opts and content for setting layout_opt