Skip to content

Commit

Permalink
Expand customize X-Ray form field
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyzz committed Jul 4, 2022
1 parent 4dba2cb commit f44e7c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_x_ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f44e7c6

Please sign in to comment.