I have created a program where I add QLabels dynamically into a horizontal layout as:
My problem is that QLabels are added in left from previous Label ,
How can I create the new QLabel in right from initial (or previous) QLabel?
Thank you very much in advance
JonB last edited by
Depends on what the value of your
The value is 1, if I change it to 0 the QLabels generated still added left not right side respect the previous QLabel generated.
Then why not just use addWidget ?
Thank you, it is solved by using addWidget.