From eab78839792f175b7ac127ca603385c6baa5ff15 Mon Sep 17 00:00:00 2001 From: wyzula-jan Date: Sun, 14 Jul 2024 16:49:04 +0200 Subject: [PATCH] fix(toolbar): default transparent background --- bec_widgets/qt_utils/toolbar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bec_widgets/qt_utils/toolbar.py b/bec_widgets/qt_utils/toolbar.py index 24183e29..d4c0b284 100644 --- a/bec_widgets/qt_utils/toolbar.py +++ b/bec_widgets/qt_utils/toolbar.py @@ -26,7 +26,9 @@ class ModularToolBar(QToolBar): color (str, optional): The background color of the toolbar. Defaults to "black". """ - def __init__(self, parent=None, actions=None, target_widget=None, color: str = "black"): + def __init__( + self, parent=None, actions=None, target_widget=None, color: str = "rgba(255, 255, 255, 0)" + ): super().__init__(parent) self.widgets = defaultdict(dict)