* Behaviour of "Fit" button in Census form

AS allows faster and more convenient creation of source records for Family Historian.
Post Reply
avatar
Gary_G
Megastar
Posts: 1006
Joined: 24 Mar 2023 19:05
Family Historian: V7

Behaviour of "Fit" button in Census form

Post by Gary_G »

I notice that the "Fit" button disappears when some fields in the Text area are adjusted to reflect the actual text of the source.
Can someone explain when the "Fit" button was designed to be used.
I would have thought that it would permit one to adjust the auto text table before and/or after the text had been "corrected".
This is because the edited text might be longer or shorter than the original.
Gary Gauthier
Hunting History in the Wild!
avatar
jbtapscott
Megastar
Posts: 530
Joined: 19 Nov 2014 17:52
Family Historian: V7
Location: Corfu, Greece
Contact:

Re: Behaviour of "Fit" button in Census form

Post by jbtapscott »

As the Help states, "....use the Fit button to automatically reduce the main census grid to the narrowest column widths required. This will automatically also reduce the width of the auto-text version of the table too....".

Once you make changes within the Auto-text then the Fit button effectively becomes disabled as it it is the original grid that has been adjusted and not the auto-text result (other than as a by-product of the grid being changed). This is exactly the same behaviour as, for example, if you make a change within the auto-text window and then go back and, say, add another Individual to the grid - the latter does not get added in to the auto-text window unless you select the Auto button again and "rebuild" the auto-text result.
Brent Tapscott ~ researching the Tapscott and Wallace family history
Tapscott & Wallace family tree
User avatar
NickWalker
Megastar
Posts: 2706
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: Behaviour of "Fit" button in Census form

Post by NickWalker »

Just to add to Brent's answer: the 'fit' is taking advantage of the auto-size facility within the grid control. There isn't a similar facility for tables within rich-text, so once you've made manual changes to the rich-text, the grid is no longer generating the auto-text. If you need to adjust the column widths in the rich-text due to manual edits, you can drag the column widths with mouse and left mouse button. However, possibly more usefully, you can hold down the shift key whilst dragging the column width and it only changes the column width of the cell and the whole table, rather than the size of the next column.
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/
avatar
Gary_G
Megastar
Posts: 1006
Joined: 24 Mar 2023 19:05
Family Historian: V7

Re: Behaviour of "Fit" button in Census form

Post by Gary_G »

Thanks, Brent and Nick. That explanation helps.
Gary Gauthier
Hunting History in the Wild!
Post Reply