I have a QVBoxLayout. I've set the alignment like so:
Qt Code:
myVBLay->setAlignment(Qt::AlignRight);To copy to clipboard, switch view to plain text mode
If I add buttons or labels to the layout, shouldn't they Align to the Right? They don't: always left, no matter what I try. What could I possibly be missing? (I've tried setting the alignment right on the QLabel, too. Nothing.).
Bookmarks