Skip to content

Commit

Permalink
Show version number in banner instead of date
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-van-Gils committed Feb 3, 2022
1 parent 52eb53a commit 13dfd9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Alia_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def Header(): # pylint: disable=unused-variable
self.qpbt_exit.setMinimumHeight(30)

p = {"alignment": QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter}
vbox_right = QVBoxLayout()
vbox_right = QVBoxLayout(spacing=4)
vbox_right.addWidget(self.qpbt_exit)
vbox_right.addStretch(1)
self.qlbl_GitHub = QLabel(
Expand All @@ -408,7 +408,7 @@ def Header(): # pylint: disable=unused-variable
self.qlbl_GitHub.setOpenExternalLinks(True)
vbox_right.addWidget(self.qlbl_GitHub)
vbox_right.addWidget(QLabel(__author__, **p))
vbox_right.addWidget(QLabel(__date__, **p))
vbox_right.addWidget(QLabel("v%s" % __version__, **p))

# Round up frame
hbox_header = QHBoxLayout()
Expand Down

0 comments on commit 13dfd9b

Please sign in to comment.