I have a QVBoxLayout that I'm trying to add two QGridLayouts to. When I add the first QGridLayout, it looks good (note that the "calibrate text" is not part of the QGridLayout, it is added to the QVBoxLayout first):



But when I add the second QGridLayout, the first one gets all messed up. It's like the first layout is expanding to match the width of the second layout.



How can I keep the first layout's width independent of the second layout's?

Thanks for the advice