mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Make window size of NGW consistent so position does not move around (#3386)
This commit is contained in:
parent
b376ab135f
commit
6433d3159e
@ -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("======================")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user