create layout with widgets