Added layout.

This commit is contained in:
jupfi 2023-07-10 16:29:58 +02:00
parent 5a12f27fa2
commit 8b0afc8d2d
2 changed files with 9 additions and 16 deletions

View file

@ -13,12 +13,11 @@ class Ui_Form(object):
def setupUi(self, Form): def setupUi(self, Form):
Form.setObjectName("Form") Form.setObjectName("Form")
Form.resize(800, 647) Form.resize(800, 647)
self.verticalLayoutWidget = QtWidgets.QWidget(parent=Form) self.horizontalLayout = QtWidgets.QHBoxLayout(Form)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(-1, -1, 811, 651)) self.horizontalLayout.setObjectName("horizontalLayout")
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout") self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout.addLayout(self.verticalLayout)
self.retranslateUi(Form) self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form) QtCore.QMetaObject.connectSlotsByName(Form)

View file

@ -13,17 +13,11 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<widget class="QWidget" name="verticalLayoutWidget"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="geometry"> <item>
<rect> <layout class="QVBoxLayout" name="verticalLayout"/>
<x>-1</x> </item>
<y>-1</y> </layout>
<width>811</width>
<height>651</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout"/>
</widget>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>