widgets aren't resized correctly when adding them to layout

Printable View