Fix assertion table row height in TestStepDialog
Set explicit row height (36px) and minimum input height (28px) to prevent value input from being cut off. Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
@@ -296,6 +296,9 @@ class TestStepDialog(QDialog):
|
||||
row = self.assertions_table.rowCount()
|
||||
self.assertions_table.insertRow(row)
|
||||
|
||||
# Set proper row height for widgets
|
||||
self.assertions_table.setRowHeight(row, 36)
|
||||
|
||||
# Type dropdown
|
||||
type_combo = QComboBox()
|
||||
for type_id, display_name, tooltip in self.ASSERTION_TYPES:
|
||||
@@ -307,6 +310,7 @@ class TestStepDialog(QDialog):
|
||||
# Value input
|
||||
value_edit = QLineEdit()
|
||||
value_edit.setPlaceholderText("Expected value (if applicable)")
|
||||
value_edit.setMinimumHeight(28)
|
||||
self.assertions_table.setCellWidget(row, 1, value_edit)
|
||||
|
||||
# Remove button
|
||||
|
||||
Reference in New Issue
Block a user