mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -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
|
# Initialize the window
|
||||||
self.setMinimumWidth(1040)
|
self.setMinimumWidth(1040)
|
||||||
self.setMinimumHeight(740)
|
self.setMinimumHeight(700)
|
||||||
self.setWindowTitle("OnionShare")
|
self.setWindowTitle("OnionShare")
|
||||||
self.setWindowIcon(QtGui.QIcon(GuiCommon.get_resource_path("images/logo.png")))
|
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(header_label)
|
||||||
self.main_layout.addWidget(receive_warning)
|
self.main_layout.addWidget(receive_warning)
|
||||||
self.main_layout.addWidget(self.primary_action, stretch=1)
|
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
|
# Row layout
|
||||||
content_row = QtWidgets.QHBoxLayout()
|
content_row = QtWidgets.QHBoxLayout()
|
||||||
content_row.addLayout(self.main_layout)
|
content_row.addLayout(self.main_layout, stretch=1)
|
||||||
content_row.addWidget(self.image)
|
content_row.addWidget(self.image)
|
||||||
row_layout = QtWidgets.QVBoxLayout()
|
row_layout = QtWidgets.QVBoxLayout()
|
||||||
row_layout.addLayout(top_bar_layout)
|
row_layout.addLayout(top_bar_layout)
|
||||||
row_layout.addLayout(content_row, stretch=1)
|
row_layout.addLayout(content_row, stretch=1)
|
||||||
row_layout.addWidget(self.server_status)
|
|
||||||
|
|
||||||
# Column layout
|
# Column layout
|
||||||
self.column_layout = QtWidgets.QHBoxLayout()
|
self.column_layout = QtWidgets.QHBoxLayout()
|
||||||
|
|
Loading…
Add table
Reference in a new issue