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 <noreply@anthropic.com>
This commit is contained in:
parent
68ab329c33
commit
4176573e9d
|
|
@ -296,6 +296,9 @@ class TestStepDialog(QDialog):
|
||||||
row = self.assertions_table.rowCount()
|
row = self.assertions_table.rowCount()
|
||||||
self.assertions_table.insertRow(row)
|
self.assertions_table.insertRow(row)
|
||||||
|
|
||||||
|
# Set proper row height for widgets
|
||||||
|
self.assertions_table.setRowHeight(row, 36)
|
||||||
|
|
||||||
# Type dropdown
|
# Type dropdown
|
||||||
type_combo = QComboBox()
|
type_combo = QComboBox()
|
||||||
for type_id, display_name, tooltip in self.ASSERTION_TYPES:
|
for type_id, display_name, tooltip in self.ASSERTION_TYPES:
|
||||||
|
|
@ -307,6 +310,7 @@ class TestStepDialog(QDialog):
|
||||||
# Value input
|
# Value input
|
||||||
value_edit = QLineEdit()
|
value_edit = QLineEdit()
|
||||||
value_edit.setPlaceholderText("Expected value (if applicable)")
|
value_edit.setPlaceholderText("Expected value (if applicable)")
|
||||||
|
value_edit.setMinimumHeight(28)
|
||||||
self.assertions_table.setCellWidget(row, 1, value_edit)
|
self.assertions_table.setCellWidget(row, 1, value_edit)
|
||||||
|
|
||||||
# Remove button
|
# Remove button
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue