Add hints for creating packages.

This commit is contained in:
Dan Albert
2020-11-05 17:08:34 -08:00
parent 43eb041bb8
commit 5d579ccef9
2 changed files with 18 additions and 2 deletions

View File

@@ -73,7 +73,10 @@ class QLiberationWindow(QMainWindow):
hbox.addWidget(vbox)
vbox.addWidget(self.liberation_map)
vbox.addWidget(self.info_panel)
hbox.setSizes([100, 600])
# Will make the ATO sidebar as small as necessary to fit the content. In
# practice this means it is sized by the hints in the panel.
hbox.setSizes([1, 10000000])
vbox.setSizes([600, 100])
vbox = QVBoxLayout()