Explicitly set wordWrap property to false in STableWidgets

on tabs "Send", "Blacklist" and "Network Status":
in qt5 it's probably true by default.
This commit is contained in:
Dmitri Bogomolov 2019-04-12 12:33:24 +03:00
parent e25f7a6cf1
commit 4cb8958661
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
3 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -62,6 +62,9 @@
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>true</bool>
</attribute>

View File

@ -100,6 +100,9 @@
<property name="sortingEnabled">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>true</bool>
</attribute>