Added option for layout to size the window to fit.