Improve padding in receive mode

This commit is contained in:
Micah Lee 2021-09-03 13:42:55 -07:00
parent a27c89e574
commit 093bf454a1
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 3 additions and 4 deletions

View file

@ -44,7 +44,7 @@ class MainWindow(QtWidgets.QMainWindow):
# Initialize the window
self.setMinimumWidth(1040)
self.setMinimumHeight(740)
self.setMinimumHeight(700)
self.setWindowTitle("OnionShare")
self.setWindowIcon(QtGui.QIcon(GuiCommon.get_resource_path("images/logo.png")))

View file

@ -183,16 +183,15 @@ class ReceiveMode(Mode):
self.main_layout.addWidget(header_label)
self.main_layout.addWidget(receive_warning)
self.main_layout.addWidget(self.primary_action, stretch=1)
self.main_layout.addWidget(MinimumSizeWidget(525, 0))
self.main_layout.addWidget(self.server_status)
# Row layout
content_row = QtWidgets.QHBoxLayout()
content_row.addLayout(self.main_layout)
content_row.addLayout(self.main_layout, stretch=1)
content_row.addWidget(self.image)
row_layout = QtWidgets.QVBoxLayout()
row_layout.addLayout(top_bar_layout)
row_layout.addLayout(content_row, stretch=1)
row_layout.addWidget(self.server_status)
# Column layout
self.column_layout = QtWidgets.QHBoxLayout()