From 4cb89586614db9d336fea4eedd755169892c1674 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Fri, 12 Apr 2019 12:33:24 +0300 Subject: [PATCH] Explicitly set wordWrap property to false in STableWidgets on tabs "Send", "Blacklist" and "Network Status": in qt5 it's probably true by default. --- src/bitmessageqt/bitmessageui.py | 1 + src/bitmessageqt/blacklist.ui | 3 +++ src/bitmessageqt/networkstatus.ui | 3 +++ 3 files changed, 7 insertions(+) diff --git a/src/bitmessageqt/bitmessageui.py b/src/bitmessageqt/bitmessageui.py index 02f1ad8c..f75359ef 100644 --- a/src/bitmessageqt/bitmessageui.py +++ b/src/bitmessageqt/bitmessageui.py @@ -164,6 +164,7 @@ class Ui_MainWindow(object): self.tableWidgetAddressBook.horizontalHeader().setHighlightSections(False) self.tableWidgetAddressBook.horizontalHeader().setStretchLastSection(True) self.tableWidgetAddressBook.verticalHeader().setVisible(False) + self.tableWidgetAddressBook.setWordWrap(False) self.verticalSplitter_2.addWidget(self.tableWidgetAddressBook) self.addressBookCompleter = AddressBookCompleter() self.addressBookCompleter.setCompletionMode(QtWidgets.QCompleter.PopupCompletion) diff --git a/src/bitmessageqt/blacklist.ui b/src/bitmessageqt/blacklist.ui index 3068a6ae..0eb347a3 100644 --- a/src/bitmessageqt/blacklist.ui +++ b/src/bitmessageqt/blacklist.ui @@ -62,6 +62,9 @@ true + + false + true diff --git a/src/bitmessageqt/networkstatus.ui b/src/bitmessageqt/networkstatus.ui index 7c40a002..64a3d48d 100644 --- a/src/bitmessageqt/networkstatus.ui +++ b/src/bitmessageqt/networkstatus.ui @@ -100,6 +100,9 @@ true + + false + true