added more stuff to the layout example such as minimum window size, null
layout, button preferred size etc.