Insert widgets from the left in an horizontal layout
Solved
General and Desktop
-
@ivanicy
No it won't, that's why the method is insert widget, and docs say it inserts! :) There is no "replacing/overlaying". Why don't you try it?As a different approach, there is also https://doc.qt.io/qt-5/qboxlayout.html#Direction-enum,
QBoxLayout::RightToLeft
, which would let you useaddWidget()
and put it at the left instead of the normal right. But it's really the same sort of thing.