Unsolved Custom Styles: setting custom palette
-
Hello,
I'm creating custom style for my application. To customize colors I wanted to override default palette through qtquickcontrols2.conf configuration like this:
[Controls] Style=Space [Space\Palette] Window=#7777FF WindowText=#FFFF00
Style exists and loads correctly, I have for example copied there MenuItem.qml from default style and I can edit e.g. height of the item - it get's displayed correctly. But setting the palette colors through the configuration like above doesn't seem to work.
I took the syntax for configuration from here:
link textWhat am I missing here? Why it doesn't work for my custom style? (MenuItem.qml unmodified)
-
Hi im too trying to customice colors and fonts. I did a different way, https://forum.qt.io/topic/99042/qt-5-12-1-error-expanding-materials-colors