diff --git a/custom_x_ray.py b/custom_x_ray.py index e9d323d..a8cee35 100644 --- a/custom_x_ray.py +++ b/custom_x_ray.py @@ -202,6 +202,9 @@ def __init__(self, parent=None): self.setLayout(vl) form_layout = QFormLayout() + form_layout.setFieldGrowthPolicy( + QFormLayout.FieldGrowthPolicy.ExpandingFieldsGrow + ) self.name_line = QLineEdit() form_layout.addRow("Name", self.name_line)