mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-08 06:12:50 -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
|
# Layout
|
||||||
self.layout = QtWidgets.QVBoxLayout()
|
self.layout = QtWidgets.QVBoxLayout()
|
||||||
self.layout.addWidget(self.primary_action)
|
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):
|
def init(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue