From a46147ce041e3c1838cff0eb43524388f0f21275 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Wed, 21 Aug 2024 17:45:08 -0400 Subject: [PATCH] DOC: Reference issue describing why calling "setPalette" is required --- {{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py b/{{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py index ba9ced6..7b79a70 100644 --- a/{{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py +++ b/{{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py @@ -66,7 +66,8 @@ def setup(self): # Create logic class self.logic = HomeLogic() - # Dark palette does not propagate on its own? + # Dark palette does not propagate on its own + # See https://github.com/KitwareMedical/SlicerCustomAppTemplate/issues/72 self.uiWidget.setPalette(slicer.util.mainWindow().style().standardPalette()) # Remove unneeded UI elements