From 3b638cfd995062d68082ea377171bbe2f3c4415f Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 10 Apr 2016 13:33:16 -0700 Subject: [PATCH] Made URL label no longer word-wrap --- onionshare_gui/server_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py index 4db5093e..5def4946 100644 --- a/onionshare_gui/server_status.py +++ b/onionshare_gui/server_status.py @@ -61,7 +61,7 @@ class ServerStatus(QtWidgets.QVBoxLayout): url_font = QtGui.QFont() self.url_label = QtWidgets.QLabel() self.url_label.setFont(url_font) - self.url_label.setWordWrap(True) + self.url_label.setWordWrap(False) self.url_label.setAlignment(QtCore.Qt.AlignCenter) self.copy_url_button = QtWidgets.QPushButton(strings._('gui_copy_url', True)) self.copy_url_button.clicked.connect(self.copy_url) @@ -89,7 +89,7 @@ class ServerStatus(QtWidgets.QVBoxLayout): # set the URL fields if self.status == self.STATUS_STARTED: - self.url_label.setText('http://{0:s}/ {1:s}'.format(self.app.onion_host, self.web.slug)) + self.url_label.setText('http://{0:s}/{1:s}'.format(self.app.onion_host, self.web.slug)) self.url_label.show() self.copy_url_button.show()