[GNC] Size of description column not shrinkable?
Adrien Monteleone
adrien.monteleone at lusfiber.net
Wed Jan 10 01:13:32 EST 2024
It is shrinkable, but not by itself.
It fills the remaining space not taken up by the other columns. So if
you want to shrink it, make other columns wider.
Alternatively, make the window narrower, and then drag the right-handle
of the Description column to the left and let it go. It will snap back
to fill the remaining space.
The register columns will always fill the width of the window. There
won't be any unused extra space after re-sizing them.
-----
The gcm file references the GUIDs of the accounts. Yes, you can find
these in the data file mapped to account names. (XML is not required)
But this isn't always necessary depending on what it is you want to
accomplish.
I'd hazard a guess that if you wanted all of your registers to have the
same widths for all or any columns, you could craft a Find/Replace
operation using a good text editor on the gcm file, or script the
change(s) to it.
Note, the file is normally compressed XML. (but still XML) You only need
to uncompress it (either from within GnuCash or using some other
utility) to read it using a plain text editor.
------
Yes, a preference or menu action to reset one or all registers to
defaults (or user set widths) would be nice.
Regards,
Adrien
On 1/9/24 2:30 PM, Stephen wrote:
> In my limited experience it seems that the column widths are different
> for each account in the .gcm file. There does not seem to be a "uniform"
> account setting. Furthermore, the account names are not listed in the
> .gcm file but can be found by saving the .gnucash file in XML format and
> opening in a text editor (Notepad) and saving away from your data. BTW,
> my .gnucash file needed to be saved as non-compressed (General tab in
> Preferences) to then be savable as an XML.
>
> A good description of this process can be found in the Archives [GNC]
> GUID Register Codes at 12/29/2023 11:38 PM, by David Cousens.
>
> It would be nice if GnuCash would allow for a uniform account column
> width setting but IRL "things" aren't uniform.
More information about the gnucash-user
mailing list