Remove border around items in the QStatusBar

This commit is contained in:
Miguel Jacq 2017-05-27 20:38:46 +10:00
parent d25c6d949f
commit 0da4c87e5a
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -101,6 +101,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
# Status bar
self.status_bar = QtWidgets.QStatusBar()
self.status_bar.setSizeGripEnabled(False)
self.status_bar.setStyleSheet(
"QStatusBar::item { border: 0px; }")
version_label = QtWidgets.QLabel('v{0:s}'.format(common.get_version()))
version_label.setStyleSheet('color: #666666')
self.settings_button = QtWidgets.QPushButton()