Move mode settings widget into the primary action layout, and tweak window size

This commit is contained in:
Micah Lee 2019-11-02 18:29:24 -07:00
parent f04452777d
commit 9f920f4353
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
6 changed files with 28 additions and 27 deletions

View file

@ -79,3 +79,14 @@ class AddFileDialog(QtWidgets.QFileDialog):
def accept(self):
self.common.log("AddFileDialog", "accept")
QtWidgets.QDialog.accept(self)
class MinimumWidthWidget(QtWidgets.QWidget):
"""
An empty widget with a minimum width, just to force layouts to behave
"""
def __init__(self, width):
super(MinimumWidthWidget, self).__init__()
self.setMinimumWidth(width)