0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix(toolbar): default transparent background

This commit is contained in:
2024-07-14 16:49:04 +02:00
parent 2d4249e73a
commit eab7883979

View File

@ -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)