Altering colors in the register view

Geert Janssens geert.gnucash at kobaltwit.be
Wed May 25 11:03:55 EDT 2016


Hi,

On Tuesday 24 May 2016 12:23:19 Isaac Wingfield wrote:
> I got a copy of gtkrc-2.0.gnucash and stuck it in my home folder with
> a "dot" in front of the name, and GnuCash evidently sees it and (to
> some extent) pays attention to it -- i.e. I am able to change the
> colors of various parts of the display.
> 
Good. That means you are altering the correct file.

> The problem is that no matter what colors I choose for the transaction
> backgrounds, the color of the text changes to a sort of reddish-brown
> when unselected (which is not good), or nearly white when selected
> (which makes it almost unreadable). It appears that the lines
> outlining the headers at the top of the register are the same reddish
> color as the text, FWIW, but I can't see where to set that either.
> 
> I can alter the typeface by changing the value of font_name, but
> adding font_color = "Black" seems to break things so that
> gtkrc-2.0.gnucash file is totally ignored.
> 
> So, how do I control the color of the text?
> 

Have you tried adding fg[NORMAL] and fg[SELECTED] parameters to the various gnc-register-
* style definitions ?

I *think* these will define the text colors, though I haven't tried.

Regards,

Geert


More information about the gnucash-user mailing list