build layer widget in workspace