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 7b33e74312
commit ff01c3485d
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)