hide standard icon column from QMessageBox dialogs
Targets the internal qt_msgboxex_icon_label by objectName via the base stylesheet, so confirm/warn/info dialogs across all 36+ call sites render text-only without per-call setIcon plumbing. behavior change
This commit is contained in:
parent
58cbeec2e4
commit
e31ca07973
@ -148,6 +148,15 @@ QWidget#_slideshow_controls QLabel {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
/* Hide the standard icon column on every QMessageBox (question mark,
|
||||||
|
* warning triangle, info circle) so confirm dialogs are text-only. */
|
||||||
|
QMessageBox QLabel#qt_msgboxex_icon_label {
|
||||||
|
image: none;
|
||||||
|
max-width: 0px;
|
||||||
|
max-height: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user