fix(ide_explorer): light mode fixed

This commit is contained in:
wyzula_j authored and Klaus Wakonig committed 2025-11-24 10:55:17 +01:00
1 parent a33fdae9bc
commit f869b0f1c2
2 files changed
+4 -3

No files matched your search

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