searchpage updates

This commit is contained in:
WorldTeacher
2024-06-13 09:34:53 +02:00
parent 45b611fe83
commit b0ed5317f5
3 changed files with 60 additions and 8 deletions

View File

@@ -205,7 +205,7 @@ class Ui_Dialog(object):
item = QtWidgets.QTableWidgetItem()
self.statistics_table.setHorizontalHeaderItem(2, item)
self.statistics_table.horizontalHeader().setCascadingSectionResizes(True)
self.statistics_table.horizontalHeader().setDefaultSectionSize(59)
self.statistics_table.horizontalHeader().setDefaultSectionSize(80)
self.statistics_table.horizontalHeader().setMinimumSectionSize(40)
self.statistics_table.horizontalHeader().setSortIndicatorShown(True)
self.statistics_table.horizontalHeader().setStretchLastSection(True)
@@ -219,6 +219,8 @@ class Ui_Dialog(object):
self.graph_table.setObjectName("graph_table")
self.tabWidget_3.addTab(self.graph_table, "")
self.horizontalLayout.addWidget(self.tabWidget_3)
self.horizontalLayout.setStretch(0, 55)
self.horizontalLayout.setStretch(1, 45)
self.stackedWidget_4.addWidget(self.apparatResult)
self.bookresult = QtWidgets.QWidget()
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)

View File

@@ -305,7 +305,7 @@
<number>0</number>
</property>
<widget class="QWidget" name="apparatResult">
<layout class="QHBoxLayout" name="horizontalLayout">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="55,45">
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
@@ -437,7 +437,7 @@
<number>40</number>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>59</number>
<number>80</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>true</bool>