title: Unwanted padding when using QWidgets and QGroupBox in QT
body: <p>I'm having a huge problem with unwanted padding on one of my Widgets. This is how its set up:</p>
  
  <p>First I have a MainWindow which has a QGridLayout with margin, padding and contentsMargins all set to 0. In that I put a QGroupBox on position 0,0 and on 0,1 I put a QWidget I made. 
  The QWidget is made continas a QGridLayout (with the same margins etc, all set to 0) and in that layout I place a QGroupBox on 0,0(which contains a layout where i put all the buttons) and another View on the 1,0. The MainMenu QGroupBox and the "test" should in theory be aligned since I removed all padding and margins to 0. The reason why the right hand side is a widget is so that I easily can replace it with something else. </p>
  
  <p>The weirdest this is that on the bottom of the windows, the MainMenu GroupBox and the right hand sides widget are aligned. Is just at the top they dont meet up. Would be really thankful if anyone could solve my problem. My last resort is to but the MainMenu into its own Widget. It feels like the box feels like its a child and the MainMenu is higher up on the hierarchy. But that doesnt explain why they are aligned on the bottom. </p>
  
  <p><img src="https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/418732_10150579468174170_689569169_8727361_1924504188_n.jpg" alt=""></p>