Skip to content

Commit

Permalink
fix vertical layout strech
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdfc committed Sep 4, 2022
1 parent b155330 commit 0c65f28
Show file tree
Hide file tree
Showing 3 changed files with 5,451 additions and 5,450 deletions.
1 change: 1 addition & 0 deletions UserInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,7 @@ def setupUi(self, MainWindow):
self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 1, 1)
self.verticalLayout.addWidget(self.frame_3)
self.verticalLayout.setStretch(0, 1)
self.verticalLayout.setStretch(1, 8)
self.verticalLayout.setStretch(2, 1)
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
Expand Down
2 changes: 1 addition & 1 deletion UserInterface.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ QMenuBar QToolButton {
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,1">
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,8,1">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
Expand Down
Loading

0 comments on commit 0c65f28

Please sign in to comment.