mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-31 02:19:09 -04:00
Remove stretch from TorConnectionWidget so it takes the full width
This commit is contained in:
parent
c43a616ff2
commit
7a3dd3570f
1 changed files with 3 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue