mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-17 13:02:42 -05:00
Only add a stretch at the bottom of the layout in receive mode, not share mode
This commit is contained in:
parent
1314ddf1be
commit
871135cc75
@ -78,7 +78,6 @@ class Mode(QtWidgets.QWidget):
|
||||
# Layout
|
||||
self.layout = QtWidgets.QVBoxLayout()
|
||||
self.layout.addWidget(self.primary_action)
|
||||
self.layout.addStretch()
|
||||
# Hack to allow a minimum width on self.layout
|
||||
min_width_widget = QtWidgets.QWidget()
|
||||
min_width_widget.setMinimumWidth(450)
|
||||
|
@ -79,6 +79,7 @@ class ReceiveMode(Mode):
|
||||
# Layout
|
||||
self.layout.insertWidget(0, self.receive_info)
|
||||
self.layout.insertWidget(0, self.info_widget)
|
||||
self.layout.addStretch()
|
||||
self.horizontal_layout_wrapper.addWidget(self.uploads)
|
||||
|
||||
def get_stop_server_shutdown_timeout_text(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user