Elements of the same size in two GroupBoxes
-
I'm trying to exploit constrain so that two elements (owned by two different comboboxes) will have the same size while changing size of the form. It would be good to make with the tools of Qt Creator (Designer).
-
Hi! There is no out of the box solution for this with QWidgets. You'll have to write some code to achieve this.
-
This post is deleted!
-
@mrjj Look at the images he posted. I don't think what you suggested is what he wants.
-
@Wieland
Ok. I cant see them anymore.
So I removed suggestion.
-
@mrjj It looked like this:
I think @alan73 wants to have the QLineEdits (one, two) to have the same width.
-
@Wieland
Ah. thank you.
Ok, you are right - spacer wont do it.
He could set Alignment to right. (for edit)
Then they stay same with all the time.
Not sure its 100% the wanted effect?
https://www.dropbox.com/s/px3t6ir6d767nn7/keepright.zip?dl=0