Re: [GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-11 Thread Adrien Monteleone

Here's the bug link: https://bugs.gnucash.org/show_bug.cgi?id=799248

Your attachment seems to be a printed version of the report, rather than 
an HTML 'export'. (Use the Export button on the toolbar, don't try to 
'print to file')


I'm spinning up a VM with 4.8 to confirm. As of 5.5 at least, that cell 
does have a class as I noted.


Perhaps switch to the 5.5 flatpak. At least you can style it using the 
method I described in my last post.


Regards,
Adrien

On 3/11/24 12:14 PM, Chris Green wrote:

I have the exported HTML.  It would appear that the section (i.e.
account) headings are in a , see:-

 
 Lloyds
  
  
 
  
 01/01/23
 
 
 
 Lloyds Current

The 'Lloyds' is what I would expect to be in a large font but there
seems to be no class to apply to it.  I have attached the whole
exported HTML file, I can see no way to specify a larger size for the
headings, it needs the HTML changing to give a class name to the
section (account) headings.


___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-11 Thread Chris Green
Adrien,

Thanks for your continuing support with this, see further comments and
informaiton below.

On Mon, Mar 11, 2024 at 11:52:36AM -0500, Adrien Monteleone wrote:
> On 3/11/24 5:30 AM, Chris Green wrote:
> > On Fri, Mar 08, 2024 at 12:01:01PM -0600, Adrien Monteleone wrote:
> >> Chris,
> >>
> >> Once again, look into Edit > Stylesheets.
> >>
> >> For the record, I'm using defaults, and the  is 12pt
> >> bold and the  lines are 10pt normal weight. The total lines
> >> match the .
> >>
> > On my GnuCash (version 4.8 on Linux) there isn't a separate setting
> > for the , it's the same size as 'Text Cell'.
> > Chnaging the font size for 'Text Cell' changes *all* the text (i.e. the
> > individual transaction descriptions etc.) as well as the account title.
> > 
> > There are no references to 'transaction' or 'name of account' in my
> > stylesheet settings.
> > 
> > Is this something that has been changed since version 4.8?
> > 
> The total cells labels *as well as the account name* were all given a 
> CSS class:
> 
> .total-label-cell
> 
> for the labels, and
> 
> .total-number-cell
> 
> for the actual figures in the totals.
> 
> By default, the styling for those is:
> 
> td.total-number-cell { font-family: "Avenir", sans-serif; font-size: 
> 12pt; font-weight: 810;  }
> td.total-label-cell { font-family: "Avenir", sans-serif; font-size: 
> 12pt; font-weight: 780;  }
> 
> (visible if you open the exported HTML report in a text editor)
> 
I have the exported HTML.  It would appear that the section (i.e.
account) headings are in a , see:-


Lloyds
 
 

 
01/01/23



Lloyds Current

The 'Lloyds' is what I would expect to be in a large font but there
seems to be no class to apply to it.  I have attached the whole
exported HTML file, I can see no way to specify a larger size for the
headings, it needs the HTML changing to give a class name to the
section (account) headings.

> You can use the CSS stylesheet for your report, and copy those above 
> rules to it. It is probably not strictly necessary to address the td 
> element explicitly like the inline style does, just the class should work.
> 
> Or, with the Default stylesheet, simply adjust those options as desired 
> on the Fonts tab: "Total Label Cell" and "Total Number Cell".
> 
> I'll file a bug on the Account Name sharing a class that makes it 
> non-obvious what to change.
> 
> Regards,
> Adrien
> 
> 
> ___
> gnucash-user mailing list
> gnucash-user@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.
> 

-- 
Chris Green
  Transaction Report

  From 01/01/23 to 31/12/23

   Date Num Description Memo/Notes Transfer from/to Debit Credit
   Lloyds
   01/01/23 Lloyds Current [1]�1,934.97
   03/01/23 Risdales Regular Giving [2]�20.00
   03/01/23 000531 David Cope, remove branch Maintenance [3]�25.00
   11/01/23 Electricity, British Gas Utilities [4]�59.35
   12/01/23 Scarfe Trust Payments to/from Building Account [5]�750.00
   18/01/23 Vicar's expenses, invoice 368 Vicar [6]�32.85
   18/01/23 500915 Collection, 18th Dec 2022 Collections [7]�64.90
   18/01/23 500915 Collection, 24th Dec 2022 Collections [8]�156.52
   18/01/23 500915 Collection, 15th Jan Collections [9]�108.20
   18/01/23 500915 Green, rounding up donation Other Donations [10]�2.38
   18/01/23 500915 Donation box Offertory Box [11]�8.00
   20/01/23 Ronald Arthur Pomr Funeral Fees [12]�224.00
   23/01/23 Quota for Diocese Quota for Diocese [13]�300.00
   27/01/23 Extra to fulfil 2022 quota Quota for Diocese [14]�285.00
   30/01/23 An - unclear Fees [15]�282.00
   01/02/23 Gaussen Regular Giving [16]�180.00
   02/02/23 Risdales Regular Giving [17]�20.00
   06/02/23 Electricity, British Gas Utilities [18]�96.41
   09/02/23 Peter Smith funeral Fees [19]�141.00
   15/02/23 000530 J. Dundas, gutter cleaning Maintenance [20]�150.00
   20/02/23 Donation to Crisis at Christmas Donations [21]�78.00
   22/02/23 Quota for Diocese Quota for Diocese [22]�300.00
   22/02/23 Stewardship Regular Giving [23]�120.00
   02/03/23 Risdales Regular Giving [24]�20.00
   03/03/23 Ride and Stride Other Donations [25]�25.00
   03/03/23 Electricity, British Gas Utilities [26]�29.27
   06/03/23 000532 David Cope, mowing Maintenance [27]�230.00
   08/03/23 500916 Carol singing Payments to/from Building Account
   [28]�35.00
   08/03/23 500916 Collection, 19th Feb Collections [29]�105.00
   08/03/23 500916 Collection, 5th March Collections [30]�80.00
   08/03/23 500916 Green, rounding up donation Other Donations [31]�1.00
   08/03/23 500916 Donation box Offertory Box [32]�39.00
   22/03/23 Quota for Diocese Quota for Diocese [33]�300.00
   27/03/23 Church Insurance Insurance 

Re: [GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-11 Thread Adrien Monteleone
The total cells labels *as well as the account name* were all given a 
CSS class:


.total-label-cell

for the labels, and

.total-number-cell

for the actual figures in the totals.

By default, the styling for those is:

td.total-number-cell { font-family: "Avenir", sans-serif; font-size: 
12pt; font-weight: 810;  }
td.total-label-cell { font-family: "Avenir", sans-serif; font-size: 
12pt; font-weight: 780;  }


(visible if you open the exported HTML report in a text editor)

You can use the CSS stylesheet for your report, and copy those above 
rules to it. It is probably not strictly necessary to address the td 
element explicitly like the inline style does, just the class should work.


Or, with the Default stylesheet, simply adjust those options as desired 
on the Fonts tab: "Total Label Cell" and "Total Number Cell".


I'll file a bug on the Account Name sharing a class that makes it 
non-obvious what to change.


Regards,
Adrien

On 3/11/24 5:30 AM, Chris Green wrote:

On Fri, Mar 08, 2024 at 12:01:01PM -0600, Adrien Monteleone wrote:

Chris,

Once again, look into Edit > Stylesheets.

For the record, I'm using defaults, and the  is 12pt
bold and the  lines are 10pt normal weight. The total lines
match the .


On my GnuCash (version 4.8 on Linux) there isn't a separate setting
for the , it's the same size as 'Text Cell'.
Chnaging the font size for 'Text Cell' changes *all* the text (i.e. the
individual transaction descriptions etc.) as well as the account title.

There are no references to 'transaction' or 'name of account' in my
stylesheet settings.

Is this something that has been changed since version 4.8?



___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-11 Thread Chris Green
On Fri, Mar 08, 2024 at 12:01:01PM -0600, Adrien Monteleone wrote:
> Chris,
> 
> Once again, look into Edit > Stylesheets.
> 
> For the record, I'm using defaults, and the  is 12pt 
> bold and the  lines are 10pt normal weight. The total lines 
> match the .
> 
On my GnuCash (version 4.8 on Linux) there isn't a separate setting
for the , it's the same size as 'Text Cell'.
Chnaging the font size for 'Text Cell' changes *all* the text (i.e. the
individual transaction descriptions etc.) as well as the account title.

There are no references to 'transaction' or 'name of account' in my
stylesheet settings.

Is this something that has been changed since version 4.8?

-- 
Chris Green
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-08 Thread Adrien Monteleone

Chris,

Once again, look into Edit > Stylesheets.

For the record, I'm using defaults, and the  is 12pt 
bold and the  lines are 10pt normal weight. The total lines 
match the .


Regards,
Adrien

On 3/8/24 3:41 AM, Chris Green wrote:

Maybe I have set something somwhere without knowing it but the font
sizes for headings in the Transaction Report seem odd to me.

Each account is shown as follows:-

 


...
...
 Total for 


The oddity is that the  uses the same font size as
the list of transactions below it.  The 'Total For '
is in a large, bold, typeface which makes sense.

The  at the top of each account needs to be in at
least the same size as the 'Total For ' at the bottom.

Have I configured something somewhere that has lost the large size for
the heading and/or is there an easy way to change this please.

I'd prefer something that will fix things every time I create a new
transaction report rather than having to edit every report after
creating it.


___
gnucash-user mailing list
gnucash-user@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.


[GNC] Setting font sizes in reports (specifically in Transaction Report)

2024-03-08 Thread Chris Green
Maybe I have set something somwhere without knowing it but the font
sizes for headings in the Transaction Report seem odd to me.

Each account is shown as follows:-


   
   
   ...
   ...
Total for 


The oddity is that the  uses the same font size as
the list of transactions below it.  The 'Total For '
is in a large, bold, typeface which makes sense.

The  at the top of each account needs to be in at
least the same size as the 'Total For ' at the bottom.

Have I configured something somewhere that has lost the large size for
the heading and/or is there an easy way to change this please.

I'd prefer something that will fix things every time I create a new
transaction report rather than having to edit every report after
creating it.


-- 
Chris Green
___
gnucash-user mailing list
gnucash-user@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.