set documentview window height.