From dc23c2d1cb220c80462219aec72864e7571d43bf Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 17 Jan 2026 14:35:50 -0400 Subject: [PATCH] Reduce remove button height to match other widgets - Fixed height 28px - Reduced font to 14px - Minimal padding (0px vertical, 6px horizontal) Co-Authored-By: Claude Opus 4.5 --- src/cmdforge/gui/dialogs/test_step_dialog.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cmdforge/gui/dialogs/test_step_dialog.py b/src/cmdforge/gui/dialogs/test_step_dialog.py index 7316125..6f604a9 100644 --- a/src/cmdforge/gui/dialogs/test_step_dialog.py +++ b/src/cmdforge/gui/dialogs/test_step_dialog.py @@ -320,8 +320,7 @@ class TestStepDialog(QDialog): # Remove button - red X for clear delete action btn_remove = QPushButton("✕") btn_remove.setToolTip("Remove this assertion") - btn_remove.setMinimumHeight(34) - btn_remove.setMaximumHeight(34) + btn_remove.setFixedHeight(28) btn_remove.setStyleSheet(""" QPushButton { background-color: #fed7d7; @@ -329,7 +328,9 @@ class TestStepDialog(QDialog): border: 1px solid #fc8181; border-radius: 4px; font-weight: bold; - font-size: 16px; + font-size: 14px; + padding: 0px 6px; + margin: 0px; } QPushButton:hover { background-color: #feb2b2;