My experience is limited to register displays in releases up to 2.6.19, so
I do not expect details to be identical.

GnuCash uses variable width fonts so the digit one is less wide than other
digits.  Any date with a one in it is less wide than other dates, and about
a third of all dates have single digit day numbers, a third have the digit
one with another digit, and a third have the digit two or three with
another digit.  Two digit year formats are also less wide.

I think the Gnome graphic renderer counts pixels when deciding how wide a
string actually is . So GnuCash actually has no control over that anyway.

David Carlson

On Thu, Dec 12, 2019, 1:46 PM Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

>
>
> > On Dec 12, 2019 w50d346, at 1:35 PM, David Carlson <
> david.carlson....@gmail.com> wrote:
> >
> > How would the code know how wide the entire date is when it may take
> months to see a date with all wide digits when only selected dates appear.
> Date field also randomly expands when that pesky calendar widget appears.
>
> Not sure what you mean by ‘wide digits’.
>
> I always see four digits for the year and 2 for both month and day. I
> can’t even find a setting to change that. (in GnuCash or in MacOS)
>
> But my guess would be that it would either check or store the size of the
> displayed date. How does it know how to size the column now when you double
> click? Certainly it either knows or checks the size of the content.
>
> Yes, invoices are different. The widget overlays the date, it doesn’t
> cause the column to grow. If you want to see the whole date with the
> overlay, you have to manually resize the column, but then you get padding
> in that column which may generate a scroll bar.
>
> I don’t think anything in this thread is concerning registers or any
> suggestions to change how they work. The topic was about invoices.
>
> 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
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to