About window fixed size

This commit is contained in:
Vinicius Moreira
2019-06-27 12:21:01 -03:00
parent b2176cadda
commit c7f92ee2f8
2 changed files with 2 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ class AboutDialog(QDialog):
layout.addWidget(QLabel(''))
self.adjustSize()
self.setFixedSize(self.size())
def closeEvent(self, event):
event.ignore()

View File

@@ -121,7 +121,7 @@ class ManageWindow(QWidget):
self.toolbar_bottom = QToolBar()
self.label_updates = QLabel('')
self.label_updates.setStyleSheet("color: red; font-weight: bold")
self.label_updates.setStyleSheet("color: red;")
self.toolbar_bottom.addWidget(self.label_updates)
spacer = QWidget()
spacer.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)