From 4176573e9d7fd741d8aa8737b81810bd30d2b6e8 Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 17 Jan 2026 14:00:08 -0400 Subject: [PATCH] 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 --- src/cmdforge/gui/dialogs/test_step_dialog.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmdforge/gui/dialogs/test_step_dialog.py b/src/cmdforge/gui/dialogs/test_step_dialog.py index cd34bf7..ed5e0c4 100644 --- a/src/cmdforge/gui/dialogs/test_step_dialog.py +++ b/src/cmdforge/gui/dialogs/test_step_dialog.py @@ -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