mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-12 04:31:41 -05: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
845fe3f945
commit
f32f710280
@ -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…
x
Reference in New Issue
Block a user