mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Move mode settings widget into the primary action layout, and tweak window size
This commit is contained in:
parent
f04452777d
commit
9f920f4353
6 changed files with 28 additions and 27 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue