![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2016
Device: kindle reader
|
Book list background color
The background of the lines in the book list (under Title - Author(s) - Date - Size) alternate in color. Since, however, I use in my system white font on black background, the white font in the whitish lines is difficult to see. (The other lines are white on black). How can I make all the lines be white on black?
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The alternate background color comes from the system color theme, via Qt. Presumably, you need to change it in your system color theme.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2016
Device: kindle reader
|
Yes I know it's my preferred system's color, which I'd prefer Calibre to use in all lines. Alternatively, they could, I suppose, specify also the text color (black) for the lines where they specify background color, then the text would be readable though that would not appear very nice.
So is there some way to change the Calibre colors without changing my computers theme? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run calibre from source and change the colors to whatever you like, its fairly trivial to do -- couple of lines of code. At the end of the __init__ method of the Application class in gui2/__init__.py put in lines like this
p = self.palette() p.setColor(p.AlternateBase, QColor('whatever color you like')) Instructions for running calibre from source ar in the user manual. |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2016
Device: kindle reader
|
Thanks. I just downloaded the manual and I'll be looking at it. I do not know if there is a way to decommission p.AlternateBase... Otherwise, how can I set it to use the system's background color (rather than black)?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2016
Device: kindle reader
|
Dear DaltonST: it seems that this plugin is what I need. How do I get it? And then how do I change the preference?
|
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
How to change it is in the link DaltonST posted ! BR Last edited by BetterRed; 07-24-2016 at 07:48 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing font color OR background color for an entry | dkperez | Library Management | 2 | 06-29-2015 11:50 PM |
Text color and background color almost the same | larrymohr | Kobo Tablets | 2 | 11-20-2011 06:59 PM |
Background color | marcelo2605 | Sigil | 7 | 04-05-2011 05:51 PM |
Background color when reading | swallman | Nook Color & Nook Tablet | 2 | 02-03-2011 01:09 PM |
change book page background color | jtpryan | Nook Color & Nook Tablet | 1 | 01-26-2011 04:13 PM |