mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 11:41:49 +02:00
fix(toolbar): default transparent background
This commit is contained in:
@ -26,7 +26,9 @@ class ModularToolBar(QToolBar):
|
|||||||
color (str, optional): The background color of the toolbar. Defaults to "black".
|
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)
|
super().__init__(parent)
|
||||||
|
|
||||||
self.widgets = defaultdict(dict)
|
self.widgets = defaultdict(dict)
|
||||||
|
Reference in New Issue
Block a user