<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm trying to create add widgets into QStatusbar, as the attached screenshot shows, the first widget, which is a qtoolbutton and the second widget, which is a qlabel, is not aligned well. I want them vertically center aligned,  could somebody give me some hint? Thanks very much!<br><div><img src="cid:ii_jvrgea3e0" alt="Selection_001.png" width="473" height="63"></div><div><br></div><div>And this is the code I'm using now:</div><div><span style="font-family:courier new,monospace">...<br></span></div><div><span style="font-family:courier new,monospace">sb = QStatusBar(self)</span></div><div><span style="font-family:courier new,monospace">btn = QToolButton(self)</span></div><div><span style="font-family:courier new,monospace">...</span></div><div><span style="font-family:courier new,monospace">lbl = QLabel("My App (Version: 1.0)")<br></span></div><div><span style="font-family:courier new,monospace">lbl.setAlignment(Qt.AlignLeft)</span></div><div><span style="font-family:courier new,monospace">...</span></div><div><span style="font-family:courier new,monospace">sb.addPermanentWidget(btn, 0)</span></div><div><span style="font-family:courier new,monospace">sb.addPermanentWidget(lbl, 1)<br></span></div><div><span style="font-family:courier new,monospace">...</span></div><div><span style="font-family:courier new,monospace">self.setStatusBar(sb)</span></div><div><br></div><div>- Tong<br></div> </div></div>