Skip to content
Snippets Groups Projects
Commit e73c313d authored by Olle Hansson's avatar Olle Hansson
Browse files

Fixed size of simulate windows

parent 2deb8dd9
No related branches found
No related tags found
1 merge request!232Guifilesignal
...@@ -16,6 +16,7 @@ from qtpy.QtWidgets import ( ...@@ -16,6 +16,7 @@ from qtpy.QtWidgets import (
QGridLayout, QGridLayout,
QHBoxLayout, QHBoxLayout,
QLabel, QLabel,
QLayout,
QLineEdit, QLineEdit,
QPushButton, QPushButton,
QShortcut, QShortcut,
...@@ -41,7 +42,7 @@ class SimulateSFGWindow(QDialog): ...@@ -41,7 +42,7 @@ class SimulateSFGWindow(QDialog):
self.setWindowTitle("Simulate SFG") self.setWindowTitle("Simulate SFG")
self.dialog_layout = QVBoxLayout() self.dialog_layout = QVBoxLayout()
self.dialog_layout.setSizeConstraint(QLayout.SetFixedSize)
self.simulate_btn = QPushButton("Simulate") self.simulate_btn = QPushButton("Simulate")
self.simulate_btn.clicked.connect(self.save_properties) self.simulate_btn.clicked.connect(self.save_properties)
self.dialog_layout.addWidget(self.simulate_btn) self.dialog_layout.addWidget(self.simulate_btn)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment