Make window size of NGW consistent so position does not move around (#3386)

This commit is contained in:
zhexu14
2024-05-04 16:10:20 +10:00
committed by GitHub
parent b376ab135f
commit 6433d3159e

View File

@@ -142,6 +142,10 @@ class NewGameWizard(QtWidgets.QWizard):
self.setWindowTitle("New Game")
# Resize wizard to the size of the largest page to keep size and position
# consistent.
self.resize(self.theater_page.sizeHint())
def accept(self):
logging.info("New Game Wizard accept")
logging.info("======================")