mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 11:47:27 -03:00
Improve padding in receive mode
This commit is contained in:
parent
a27c89e574
commit
093bf454a1
2 changed files with 3 additions and 4 deletions
|
@ -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")))
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue