[GNC] Is there a way to change font and font size (Windows 10 and 11)?
Scott Traurig
scott.traurig at gmail.com
Sun Dec 4 15:57:35 EST 2022
This worked, David, thank you.
Scott
On Sun, Dec 4, 2022 at 2:35 PM David H <hellvee at gmail.com> wrote:
> Scott,
>
> The following works for me on Win10 and is in C:\Users\<user
> name>\AppData\Roaming\GnuCash\gtk-3.0.css .....
>
> I assume you're using Gnucash 4.12 ???
>
> Cheers David H.
>
> /* This is an example GTK CSS file that can be used with Gnucash.
> Simply copy this file to the location specified below according
> to your platform and then restart gnucash.
> - Windows: CSIDL_APPDATA/GnuCash
> (or the default is users\%USERNAME%\AppData\Roaming\GnuCash)
> - OS X: $HOME/Application Support/GnuCash
> - Linux: $XDG_CONFIG_HOME/gnucash
> (or the default is $HOME/.config/gnucash)
> These settings are mainly to do with register colors and can be seen
> when the preference setting 'Register\Use GnuCash built-in color theme'
> is unset.
> Note: Widgets obtained from Glade files will not be addressable
> directly by name as these are not brought in when loaded, only
> the widget type can be configured unless they are named in code.
> */
>
> /* Application wide font setting */
> * {
> font: 14px arial;
> }
> /* Register User Colors, remove 'user' for builtin register values */
> .gnc-class-user-register-header {
> background-color: seagreen;
> color: white;
> }
>
> .gnc-class-user-register-primary {
> background-color: pink;
> }
>
> .gnc-class-user-register-primary:disabled {
> background-color: plum;
> }
>
> .gnc-class-user-register-secondary {
> background-color: lightgreen;
> }
>
> .gnc-class-user-register-secondary:disabled {
> background-color: plum;
> }
>
> .gnc-class-user-register-split {
> background-color: lightblue;
> }
>
> .gnc-class-user-register-split:disabled {
> background-color: plum;
> }
>
> .gnc-class-user-register-cursor {
> background-color: #00BFFF;
> color: white;
> border-radius: 0px;
> }
>
> On Mon, 5 Dec 2022 at 04:28, Scott Traurig <scott.traurig at gmail.com>
> wrote:
>
>> I found this wiki entry:
>>
>> https://wiki.gnucash.org/wiki/GTK3
>>
>> And I found this directory:
>>
>> C:\Users\my-user-name\AppData\Local\gtk-3.0
>>
>> I created the settings.ini file as shown in the wiki and set the new font
>> definition. But no changes are evident when I restart GnuCash.
>>
>> Is there any way to do this on Windows 10 and 11?
>>
>> Thanks,
>>
>> Scott
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>
More information about the gnucash-user
mailing list