Qt 6.12 LTS is out! See what's new in the release
blog
QLabel alignment
-
Hello,
I have created a program where I add QLabels dynamically into a horizontal layout as:ui->horizontalLayout_2->insertWidget(i,ReactiveLabels[ReactiveLabels.size()-1]);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
-
Hello,
I have created a program where I add QLabels dynamically into a horizontal layout as:ui->horizontalLayout_2->insertWidget(i,ReactiveLabels[ReactiveLabels.size()-1]);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
-
Hi,
Then why not just use addWidget ?