mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn
This commit is contained in:
parent
dc23946fe8
commit
80af01e82d
@ -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…
Reference in New Issue
Block a user