From 80af01e82dbfa580ebbc200650ed8b266eaef000 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 14 May 2017 17:27:05 -0700 Subject: [PATCH] Set the size of the TorConnectionDialog to avoid it resizing the window as elements are drawn --- onionshare_gui/tor_connection_dialog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/onionshare_gui/tor_connection_dialog.py b/onionshare_gui/tor_connection_dialog.py index 8c23f3cd..a3372547 100644 --- a/onionshare_gui/tor_connection_dialog.py +++ b/onionshare_gui/tor_connection_dialog.py @@ -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))