Added view properties to adjust the size of the window and the size of the display.