mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 15:29:42 -05:00
Remove stretch from TorConnectionWidget so it takes the full width
This commit is contained in:
parent
22fb0cfac5
commit
6a132a4991
@ -70,14 +70,10 @@ class TorConnectionWidget(QtWidgets.QWidget):
|
|||||||
progress_layout.addWidget(self.progress)
|
progress_layout.addWidget(self.progress)
|
||||||
progress_layout.addWidget(self.cancel_button)
|
progress_layout.addWidget(self.cancel_button)
|
||||||
|
|
||||||
inner_layout = QtWidgets.QVBoxLayout()
|
layout = QtWidgets.QVBoxLayout()
|
||||||
inner_layout.addWidget(self.label)
|
layout.addWidget(self.label)
|
||||||
inner_layout.addLayout(progress_layout)
|
layout.addLayout(progress_layout)
|
||||||
|
|
||||||
layout = QtWidgets.QHBoxLayout()
|
|
||||||
layout.addStretch()
|
|
||||||
layout.addLayout(inner_layout)
|
|
||||||
layout.addStretch()
|
|
||||||
self.setLayout(layout)
|
self.setLayout(layout)
|
||||||
|
|
||||||
# Start displaying the status at 0
|
# Start displaying the status at 0
|
||||||
|
Loading…
Reference in New Issue
Block a user