Posts: 103
Threads: 41
Joined: Mar 2018
Reputation:
7
2020-03-31, 04:58 AM
(This post was last modified: 2020-04-03, 11:54 AM by Sailoog.)
There are seems places in OpenPlotter programs where colors are hard coded.
There is yellow for row selection and there is while fond color in OpenPlotter module install.
When I switched my desktop theme to dark colors (White fond on dark menus)
everything is fine in Raspberry Pi UI (OpenBox, etc)
but in those two places in OpenPlotter set of programs I can't see anything.
It becomes white on yellow or white on white.
The colors everywhere should come from the UI theme.
Unless application manages all colors by itself.
Thanks,
--MG
Posts: 1,708
Threads: 39
Joined: Mar 2016
Reputation:
120
I am not sure wxpython can do that. Do you have any screenshot?
Posts: 1,708
Threads: 39
Joined: Mar 2016
Reputation:
120
I think the problem is not with rows background color but text color. In your screenshots this text is white, how do you set this dark mode?
This make me realize that we would need a "Dark mode" button in main menu...
Posts: 103
Threads: 41
Joined: Mar 2018
Reputation:
7
I run lxappearance and changed the theme to Breeze-Dark.
You can install that theme using Add / Remove Software searching for a word 'Breeze'.
Thanks,
--MG
Posts: 1,708
Threads: 39
Joined: Mar 2016
Reputation:
120
We can not change the background color of rows because yellow means SK, blue means N2K and green means NMEA 0183. Your problem is that using a dark theme the text of the programs is set to white so the solution is hardcoding the color of lists in openplotter to be always black.
Posts: 1,708
Threads: 39
Joined: Mar 2016
Reputation:
120
2020-04-03, 11:52 AM
(This post was last modified: 2020-04-03, 11:54 AM by Sailoog.)
I have forced black color to the text of all apps containing rows. Since this is a minor change I will wait for more changes to publish a new version of every app. Thanks.
Marking this thread as solved...
Posts: 1,708
Threads: 39
Joined: Mar 2016
Reputation:
120
This time the problem is with window background. It is not getting the color of your theme. If it can not be fixed the solution could be hardcoding the text to black just as we did with lists.
Just to be clear, text hardcoding is not the problem, it is just the opposite.