mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-05-16 11:26:54 +02:00
fix(ide_explorer): light mode fixed
This commit is contained in:
@@ -75,7 +75,7 @@ class CollapsibleSection(QWidget):
|
||||
self.header_add_button.setToolButtonStyle(Qt.ToolButtonIconOnly)
|
||||
self.header_add_button.setAutoRaise(True)
|
||||
|
||||
self.header_add_button.setIcon(material_icon("add", size=(28, 28)))
|
||||
self.header_add_button.setIcon(material_icon("add", size=(28, 28), convert_to_pixmap=False))
|
||||
header_layout.addWidget(self.header_add_button)
|
||||
|
||||
self.main_layout.addLayout(header_layout)
|
||||
@@ -118,7 +118,6 @@ class CollapsibleSection(QWidget):
|
||||
padding: 0px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: {text_color};
|
||||
icon-size: 20px 20px;
|
||||
}}
|
||||
"""
|
||||
|
||||
@@ -117,7 +117,9 @@ class IDEExplorer(BECWidget, QWidget):
|
||||
show_add_button=True,
|
||||
tooltip="Macros are reusable functions that can be called from scripts or the console.",
|
||||
)
|
||||
section.header_add_button.setIcon(material_icon("refresh", size=(20, 20)))
|
||||
section.header_add_button.setIcon(
|
||||
material_icon("refresh", size=(20, 20), convert_to_pixmap=False)
|
||||
)
|
||||
section.header_add_button.setToolTip("Reload all macros")
|
||||
section.header_add_button.clicked.connect(self._reload_macros)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user