modify sprite tree widget build