add widget  new layout support