Remove stretch from TorConnectionWidget so it takes the full width

This commit is contained in:
Micah Lee 2021-12-05 15:14:21 -08:00
parent 22fb0cfac5
commit 6a132a4991
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -70,14 +70,10 @@ class TorConnectionWidget(QtWidgets.QWidget):
progress_layout.addWidget(self.progress)
progress_layout.addWidget(self.cancel_button)
inner_layout = QtWidgets.QVBoxLayout()
inner_layout.addWidget(self.label)
inner_layout.addLayout(progress_layout)
layout = QtWidgets.QVBoxLayout()
layout.addWidget(self.label)
layout.addLayout(progress_layout)
layout = QtWidgets.QHBoxLayout()
layout.addStretch()
layout.addLayout(inner_layout)
layout.addStretch()
self.setLayout(layout)
# Start displaying the status at 0