From 699aa8a48d7032aa27c78ac1fc991d68fbd3114c Mon Sep 17 00:00:00 2001 From: Qing Date: Wed, 24 Jul 2024 22:13:14 -0400 Subject: [PATCH] fixed a button does not show all text in taxa-func network --- metax/gui/metax_gui/main_window.ui | 10 +++++----- metax/gui/metax_gui/ui_main_window.py | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/metax/gui/metax_gui/main_window.ui b/metax/gui/metax_gui/main_window.ui index 2d98a47..adae270 100644 --- a/metax/gui/metax_gui/main_window.ui +++ b/metax/gui/metax_gui/main_window.ui @@ -8083,8 +8083,8 @@ 0 0 - 1016 - 185 + 775 + 102 @@ -8773,14 +8773,14 @@ false - + 0 0 - 100 + 120 16777215 @@ -8805,7 +8805,7 @@ - 100 + 120 16777215 diff --git a/metax/gui/metax_gui/ui_main_window.py b/metax/gui/metax_gui/ui_main_window.py index 22bb16d..686f77f 100644 --- a/metax/gui/metax_gui/ui_main_window.py +++ b/metax/gui/metax_gui/ui_main_window.py @@ -4217,7 +4217,7 @@ def setupUi(self, metaX_main): self.scrollArea_6.setWidgetResizable(True) self.scrollArea_6.setObjectName("scrollArea_6") self.scrollAreaWidgetContents_7 = QtWidgets.QWidget() - self.scrollAreaWidgetContents_7.setGeometry(QtCore.QRect(0, 0, 1016, 185)) + self.scrollAreaWidgetContents_7.setGeometry(QtCore.QRect(0, 0, 775, 102)) self.scrollAreaWidgetContents_7.setObjectName("scrollAreaWidgetContents_7") self.gridLayout_69 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_7) self.gridLayout_69.setObjectName("gridLayout_69") @@ -4621,12 +4621,12 @@ def setupUi(self, metaX_main): self.gridLayout_6.addWidget(self.listWidget_tfnet_focus_list, 8, 1, 1, 3) self.pushButton_tfnet_add_to_list = QtWidgets.QPushButton(self.tab_9) self.pushButton_tfnet_add_to_list.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_tfnet_add_to_list.sizePolicy().hasHeightForWidth()) self.pushButton_tfnet_add_to_list.setSizePolicy(sizePolicy) - self.pushButton_tfnet_add_to_list.setMaximumSize(QtCore.QSize(100, 16777215)) + self.pushButton_tfnet_add_to_list.setMaximumSize(QtCore.QSize(120, 16777215)) self.pushButton_tfnet_add_to_list.setObjectName("pushButton_tfnet_add_to_list") self.gridLayout_6.addWidget(self.pushButton_tfnet_add_to_list, 6, 3, 1, 1) self.pushButton_tfnet_add_top = QtWidgets.QPushButton(self.tab_9) @@ -4636,7 +4636,7 @@ def setupUi(self, metaX_main): sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_tfnet_add_top.sizePolicy().hasHeightForWidth()) self.pushButton_tfnet_add_top.setSizePolicy(sizePolicy) - self.pushButton_tfnet_add_top.setMaximumSize(QtCore.QSize(100, 16777215)) + self.pushButton_tfnet_add_top.setMaximumSize(QtCore.QSize(120, 16777215)) self.pushButton_tfnet_add_top.setObjectName("pushButton_tfnet_add_top") self.gridLayout_6.addWidget(self.pushButton_tfnet_add_top, 7, 3, 1, 1) self.comboBox_tfnet_select_list = QtWidgets.QComboBox(self.tab_9)