[GNC] Font size in reports

John Ralls jralls at ceridwen.us
Mon May 24 12:20:42 EDT 2021


Jill,

Stylesheets *are* global in that any one of them can be applied to any report. There's one stylesheet named Default that all standard reports use unless told otherwise in report options, so if you want a change to apply to all reports--and you probably do in this case--then you edit the Default style sheet.

Report options aren't sticky, meaning that the next time you run that report you'll have to open report options and set the stylesheet again. Once you've configured a report to your liking you can save those option settings with the Save Config button in the tool bar. To run a saved configuration use Reports>Saved Configurations to get a dialog box listing your saved reports from which you can select and run one of them.

Regards,
John Ralls


> On May 23, 2021, at 11:35 PM, Jill Terry <jill at babrees.co.uk> wrote:
> 
> >> Did you change the style sheet in report options to point to your new style sheet? <<
> 
> argh!  gotcha!  Sorry, only just started using latest version of Gnu after installing a new hard-drive.  Thought style sheets would simply be global!
> 
> Working now - thanks so much John
> 
> Cheers
> Jill
> 
> 
> On 23/05/2021 16:20, John Ralls wrote:
>> Please remember to copy the list on all replies.
>> 
>> Did you change the style sheet in report options to point to your new style sheet? There's no need to restart GnuCash. If you change the report option it will reload the report for you, but if you only edit the selected stylesheet you'll need to reload the report manually using the reload button on the toolbar.
>> 
>> Are you using GnuCash 4.2 or earlier on a Mac? If so, there's a bug that was fixed in GnuCash 4.3, please upgrade to the current release.
>> 
>> Regards,
>> John Ralls
>> 
>> 
>> 
>>> On May 22, 2021, at 11:43 PM, Jill Terry <jill at babrees.co.uk> wrote:
>>> 
>>> Thanks John.  Sorry, I missed this reply somehow!
>>> 
>>> I have tried using the style sheets and nothing happens, simply no changes at all are made.
>>> 
>>> I tried again and created a new style sheet as per your link. Nothing changed.  I closed Gnu and reopened; going back into stylesheets it had reverted to the CSS-based stylesheet.   On a previous time I had edited that css, but again, nothing changed.
>>> 
>>> It simply doesn't work.
>>> 
>>> As per my original post, changes work if I add a new css file to the folder, except for the reports, which remain very small font size.
>>> 
>>> Cheers
>>> Jill
>>> 
>>> On 21/05/2021 17:45, John Ralls wrote:
>>>>> On May 21, 2021, at 12:14 AM, Jill Terry <jill at babrees.co.uk> wrote:
>>>>> 
>>>>> I have a problem in that the font size in reports is tiny!
>>>>> 
>>>>> Searching for the answer, I created a gtk-3.0.css file with the following, and placed it in appdata > roaming > gnucash
>>>>> 
>>>>> * {
>>>>>   font-size: 22px;
>>>>> }
>>>>> 
>>>>> I tried various sizes and fonts and it worked - except on the reports, which remained small!
>>>>> 
>>>>> Can somebody please advise me how I increase the font-size in reports
>>>> https://code.gnucash.org/docs/C/gnucash-help/change-style.html
>>>> 
>>>> Regards,
>>>> John Ralls
>>>> 



More information about the gnucash-user mailing list