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 <[email protected]>
This commit is contained in:
@@ -320,8 +320,7 @@ class TestStepDialog(QDialog):
|
|||||||
# Remove button - red X for clear delete action
|
# Remove button - red X for clear delete action
|
||||||
btn_remove = QPushButton("✕")
|
btn_remove = QPushButton("✕")
|
||||||
btn_remove.setToolTip("Remove this assertion")
|
btn_remove.setToolTip("Remove this assertion")
|
||||||
btn_remove.setMinimumHeight(34)
|
btn_remove.setFixedHeight(28)
|
||||||
btn_remove.setMaximumHeight(34)
|
|
||||||
btn_remove.setStyleSheet("""
|
btn_remove.setStyleSheet("""
|
||||||
QPushButton {
|
QPushButton {
|
||||||
background-color: #fed7d7;
|
background-color: #fed7d7;
|
||||||
@@ -329,7 +328,9 @@ class TestStepDialog(QDialog):
|
|||||||
border: 1px solid #fc8181;
|
border: 1px solid #fc8181;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
|
padding: 0px 6px;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
background-color: #feb2b2;
|
background-color: #feb2b2;
|
||||||
|
|||||||
Reference in New Issue
Block a user