add widget layout for sample