mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 22:32:58 -04:00
Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn
This commit is contained in:
parent
8f0af317b5
commit
f2aa96089a
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
|
||||||
self.setWindowTitle("OnionShare")
|
self.setWindowTitle("OnionShare")
|
||||||
self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
|
self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
|
||||||
self.setModal(True)
|
self.setModal(True)
|
||||||
|
self.setFixedSize(400, 150)
|
||||||
|
|
||||||
# Label
|
# Label
|
||||||
self.setLabelText(strings._('connecting_to_tor', True))
|
self.setLabelText(strings._('connecting_to_tor', True))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue