diff --git a/src/nqrduck_spectrometer/base_spectrometer_widget.py b/src/nqrduck_spectrometer/base_spectrometer_widget.py index f9c6e3d..fbec072 100644 --- a/src/nqrduck_spectrometer/base_spectrometer_widget.py +++ b/src/nqrduck_spectrometer/base_spectrometer_widget.py @@ -13,12 +13,11 @@ class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(800, 647) - self.verticalLayoutWidget = QtWidgets.QWidget(parent=Form) - self.verticalLayoutWidget.setGeometry(QtCore.QRect(-1, -1, 811, 651)) - self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) - self.verticalLayout.setContentsMargins(0, 0, 0, 0) + self.horizontalLayout = QtWidgets.QHBoxLayout(Form) + self.horizontalLayout.setObjectName("horizontalLayout") + self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") + self.horizontalLayout.addLayout(self.verticalLayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) diff --git a/src/nqrduck_spectrometer/resources/base_spectrometer_widget.ui b/src/nqrduck_spectrometer/resources/base_spectrometer_widget.ui index 0d56c6e..ea3e7a3 100644 --- a/src/nqrduck_spectrometer/resources/base_spectrometer_widget.ui +++ b/src/nqrduck_spectrometer/resources/base_spectrometer_widget.ui @@ -13,17 +13,11 @@ Form - - - - -1 - -1 - 811 - 651 - - - - + + + + +