Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn

This commit is contained in:
Micah Lee 2017-05-14 17:27:05 -07:00
parent dc23946fe8
commit 80af01e82d
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -34,6 +34,7 @@ class TorConnectionDialog(QtWidgets.QProgressDialog):
self.setWindowTitle("OnionShare")
self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
self.setModal(True)
self.setFixedSize(400, 150)
# Label
self.setLabelText(strings._('connecting_to_tor', True))