diff --git a/bec_widgets/widgets/containers/explorer/collapsible_tree_section.py b/bec_widgets/widgets/containers/explorer/collapsible_tree_section.py index 5eec83d7..3c9d9863 100644 --- a/bec_widgets/widgets/containers/explorer/collapsible_tree_section.py +++ b/bec_widgets/widgets/containers/explorer/collapsible_tree_section.py @@ -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; }} """ diff --git a/bec_widgets/widgets/utility/ide_explorer/ide_explorer.py b/bec_widgets/widgets/utility/ide_explorer/ide_explorer.py index d5eda4b5..2c19a176 100644 --- a/bec_widgets/widgets/utility/ide_explorer/ide_explorer.py +++ b/bec_widgets/widgets/utility/ide_explorer/ide_explorer.py @@ -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)