Add support for updating itemBackgroundColor
See original GitHub issueIssue Description
Am i right that we can update the titlebar background color using
titlebar.updateBackground(new Color(new RGBA(0, 0, 0, .7)));
but not the somehow related itemBackgroundColor
?
Background:
I am using custom-electron-titlbar in an electron application which offers support for themes.
While switching themes i do as well adjust the background color of the titlebar. This is great - but the changing itemBackgroundColor
as well would be perfect to match the style as good as possible.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Changing background color of selected item in recyclerview
First we will need to get our item background color as a ColorDrawable. We will use an iterator function to go through all...
Read more >How to Add & Change Background Color in HTML
First, find the div in your HTML code and add a class to the opening tag. Adding a class to an element will...
Read more >background-color - CSS: Cascading Style Sheets | MDN
The background-color CSS property sets the background color of an element.
Read more >How do I update the background color or image? V6
How do I update the background color or image? V6 · Navigate to your prototype and click one of your screens. · In...
Read more >HTML DOM Style backgroundColor Property - W3Schools
The backgroundColor property sets or returns the background color of an element. See Also: HTML Styles: The background Property. CSS Tutorial: CSS Backgrounds....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just to show the result
Thanks once again
@AlexTorresSk just for your information.
The command
updateItemBGColor
does in fact work if i am running3.2.2-hotfix62
, while it doesn’t with3.2.2
What might cause issue for some currently messing around with your package is the following. Running
npm-check -s
tells me the followingSo it might look for some developers that 3.2.2 is > 3.2.2-hotfix62.
Not a big issue - i just stumbled upon it.