Auto height in window
The sample shows the use of parameters 'autoheight' in combination with window control.