Align elements in QHBoxLayout
On the picture — QToolBar with QAction, QTabBar and QToolBar with QToolBar and QAction. All of them are placed inside QHBoxLayout. One can see on the picture that QAction and QToolBar are located a little bit lower than QTabBar. Is it possible to align them? I mean raise slightly QToolBar's or raise QAction in order to make them more tidy.
Each layout has many margins available. You could use multiple QHBoxLayout's for QTabBar and QToolBar.. and try and align them by adjusting the margins..
Try to Align QToolBar vertically:
@QHBoxLayout::addWidget(widget, int stretch, Qt::AlignVCenter)@