Changing color theme with dropdown menu #1403
-
Hello there. First of all – thanks for great work. Then my question – I wanted to make theme color changer similar to the Appearance Mode from the complex example – but I fail to do so. I have in the beginning:
Then, similar to the appearance, I’d think that it should change the theme color to e.g. “blue”, but it doesn’t do anything:
I also tried to directly call So could you please tell me, what I do wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@tomasz-grabarczyk Theme color cannot be changed like that. You have to destroy and define all the widgets again after loading the theme. Or you can build an option to change the theme which will work after a restart. |
Beta Was this translation helpful? Give feedback.
@tomasz-grabarczyk Theme color cannot be changed like that.
You have to destroy and define all the widgets again after loading the theme.
Or you can build an option to change the theme which will work after a restart.