mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 08:55:12 -04:00
Add a horizontal layout wrapper around the vertical layout, in order to optionally add horizontal widgets to Modes
This commit is contained in:
parent
2b9791e07f
commit
59003635a2
1 changed files with 5 additions and 1 deletions
|
@ -78,7 +78,11 @@ class Mode(QtWidgets.QWidget):
|
|||
# Layout
|
||||
self.layout = QtWidgets.QVBoxLayout()
|
||||
self.layout.addWidget(self.primary_action)
|
||||
self.setLayout(self.layout)
|
||||
|
||||
self.horizontal_layout_wrapper = QtWidgets.QHBoxLayout()
|
||||
self.horizontal_layout_wrapper.addLayout(self.layout)
|
||||
|
||||
self.setLayout(self.horizontal_layout_wrapper)
|
||||
|
||||
def init(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue