Is there an easy way to ensure that controls in different groupboxes on a Qt dialog line up correctly using layouts? If not, is there a way to line them up using code in the dialog's constructor?
For example, here is a form with two groupboxes containing controls that are laid out using a grid:
Here is how I want it to look:
Note that these dialogs will end up translated into different languages so what might be the longest label in English won't necessarily be the same label in German.