From e73c313d5956a00b01d0383bd5776d28aec447f7 Mon Sep 17 00:00:00 2001 From: Olle Hansson <olle.hansson@liu.se> Date: Fri, 24 Feb 2023 11:08:32 +0100 Subject: [PATCH] Fixed size of simulate windows --- b_asic/GUI/simulate_sfg_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/b_asic/GUI/simulate_sfg_window.py b/b_asic/GUI/simulate_sfg_window.py index f389beb6..b0513006 100644 --- a/b_asic/GUI/simulate_sfg_window.py +++ b/b_asic/GUI/simulate_sfg_window.py @@ -16,6 +16,7 @@ from qtpy.QtWidgets import ( QGridLayout, QHBoxLayout, QLabel, + QLayout, QLineEdit, QPushButton, QShortcut, @@ -41,7 +42,7 @@ class SimulateSFGWindow(QDialog): self.setWindowTitle("Simulate SFG") self.dialog_layout = QVBoxLayout() - + self.dialog_layout.setSizeConstraint(QLayout.SetFixedSize) self.simulate_btn = QPushButton("Simulate") self.simulate_btn.clicked.connect(self.save_properties) self.dialog_layout.addWidget(self.simulate_btn) -- GitLab