My fault, forgot to mention: Programming in ruby not in C++!
I add those two Widgets in a layout by
Qt Code:
  1. @layout.addWidget(@widget2)
  2. @layout.addWidget(@widget3)
To copy to clipboard, switch view to plain text mode 

And widget4 is the widget which has to display the layout with widget2 and 3 so I thoght I don't need to add it into the layout???

WingMan