fix(ide_explorer): light mode fixed

This commit is contained in:
2025-11-19 15:42:46 +01:00
committed by Klaus Wakonig
parent 22651f1c58
commit 0119332bcf
2 changed files with 4 additions and 3 deletions
@@ -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)