Skip to content

Commit

Permalink
DOC: Reference issue describing why calling "setPalette" is required
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Aug 21, 2024
1 parent 91c17c7 commit a46147c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a46147c

Please sign in to comment.