Julieng031
28th August 2013, 22:37
Hello,
I have built a little QT-based application but I have a difficulty to correclty position a QFormLayout.
As it can be seen in the attached file, I have a QBoxLayout containing a form, a QFrame (separator line) and a graphic. I would like the QFormLayout to adjust in order to let as space as possible to the graphic but I did not succeed. Do you have any idea ? Thanks by advance !
9492
For information, I have used without success :
setSizeConstraint(QLayout::SetMinimumSize) on the QFormLayout
setSizeConstraint(QLayout::SetMaximumSize) on the graphic
setFieldGrowthPolicy(QFormLayout::FieldsStayAtSize Hint) on the QFromLayout
I have built a little QT-based application but I have a difficulty to correclty position a QFormLayout.
As it can be seen in the attached file, I have a QBoxLayout containing a form, a QFrame (separator line) and a graphic. I would like the QFormLayout to adjust in order to let as space as possible to the graphic but I did not succeed. Do you have any idea ? Thanks by advance !
9492
For information, I have used without success :
setSizeConstraint(QLayout::SetMinimumSize) on the QFormLayout
setSizeConstraint(QLayout::SetMaximumSize) on the graphic
setFieldGrowthPolicy(QFormLayout::FieldsStayAtSize Hint) on the QFromLayout