Closed dan123456-eng closed 3 years ago
I tried to configure the function below the new API, but didn't fix the error. Would you have an example of using this function or another way to fix this error?
def update_style(self):
""" This must be reimplemented by plugins that need to adjust their style. """
pass
Hey @dan123456-eng, thanks for reporting. So you're saying that when moving from the light to dark theme, the theme is not applied?
That's right, when moving from light to dark the theme is not applied.
Problem Description
Note: Third party plugins are using a new API (Spyder == 5.0.x)
When I change the style in Tools -> Preferences from Light to Dark I get part of the dark interface and the other part light (third party plugin)
When I'm in Dark mode and switch to light mode (Tools -> Preferences -> Appearance -> Spyder -> Ok ) everything works fine:
When I am in light mode and switch to dark mode (Tools -> Preferences -> Appearance -> Spyder Dark -> Ok) it works with a light part and a dark part:
What steps reproduce the problem?
(Tools -> Preferences -> Appearance -> Spyder -> Ok - Yes ) and (Tools -> Preferences -> Appearance -> Spyder Dark-> Ok )
Versions
Spyder version: 5.0.1 Python version: 3.8 Qt version: 5.12.9 PyQt5 version: 5.12.3 Operating System: Linux Mint 20.
Dependencies