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 <noreply@anthropic.com>
This commit is contained in:
parent
70e9c7b789
commit
dc23c2d1cb
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue