From a38b40ec0930b6045575a519d597aaaf43847e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20H=C3=B6chenberger?= Date: Mon, 24 Jan 2022 09:43:52 +0100 Subject: [PATCH] Change CoregistrationUI status bar text color to black Somehow Qt applies a weird color scheme to the status bar on macOS and the text color is white by default, which makes it barely readable. This commit changes the text color to black. --- mne/viz/backends/_qt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mne/viz/backends/_qt.py b/mne/viz/backends/_qt.py index e98d35778b2..a51b5c3b063 100644 --- a/mne/viz/backends/_qt.py +++ b/mne/viz/backends/_qt.py @@ -426,6 +426,7 @@ def _status_bar_initialize(self, window=None): def _status_bar_add_label(self, value, stretch=0): widget = QLabel(value) + widget.setStyleSheet("QLabel { color: black; }") self._layout_add_widget(self._status_bar_layout, widget, stretch) return _QtWidget(widget)