diff --git a/GUI/Widgets/OptionsWidgets.py b/GUI/Widgets/OptionsWidgets.py index a801b89d..227b9140 100644 --- a/GUI/Widgets/OptionsWidgets.py +++ b/GUI/Widgets/OptionsWidgets.py @@ -36,7 +36,7 @@ def __init__(self, key, initial_value, tooltip = None): self.layout.setContentsMargins(0,0,0,0) self.text_field = QLineEdit(self) self.text_field.setText(initial_value) - self.text_field.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.MinimumExpanding) + self.text_field.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum) self.text_field.textChanged.connect(self.contentChanged) self.layout.addWidget(self.text_field)