-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow theming of elements with hardcoded color values #7306
Comments
It has some theming here: https://github.com/LMMS/lmms/blob/master/data/themes/default/style.css#L990 |
Related: #1839 |
As I understand it, this was implemented in #2716 |
The three posts above that I haven't crossed out as already fixed, is implemented in #7314. |
Although I'm failing to actually change color of the knob/lcd labels. |
I don't think that's possible. We can't even colour piano roll notes afaik. Or even if it's possible, haven't used it. |
Wait a minute, looks like something @LostRobotMusic did in his personal build, but that's not publicly available. (Lost I'm telling this from memory, don't bash me if I'm wrong) |
Ahh it seems the issue got linked wrongly to the PR which I merged minutes ago. |
Ahh, I'm confused. The issue linkage is correct. Your request deserves a seperate ticket. |
but it's a ui element being colored? |
LMMS Version(s)
LMMS 1.3.0-alpha.1.617+g948bb4ac6
Bug Summary
Some elements in LMMS have hardcoded color values rather than using colors from the theme's
style.css
file. this makes it impossible for the user to change the color of these elements using themesExpected Behaviour
Changing the colors of UI elements should be possible by modifying their classes in the
style.css
file. but there's no values to be changed for some elements. the colors of these elements are hardcoded in the source code instead of being taken from thestyle.css
file, therefore making it impossible for regular users to theme.Here are the elements that I found to be impossible to theme because of this (with the location of the hardcoded color value):
The label of the LCD widgetSee comment.The slicerT instrument (other instruments have their colors in style.css)See comment.There are other hardcoded colors but i'm not sure if they should become themable too (e.g. spectrum analyser, vectorscope...)
Here's an example of a non hardcoded color that gets it's value from
style.css
: the knob's "lineInactiveColor" (style.css
"qproperty-lineInactiveColor")I think these pages are relevant: Qt documentation: The Property System, Qt documentation: The Style Sheet Syntax
Steps To Reproduce
style.css
Screenshots / Minimum Reproducible Project
Please search the issue tracker for existing bug reports before submitting your own.
The text was updated successfully, but these errors were encountered: