On Sat, 2001-12-01 at 21:16, Derek Atkins wrote: > I'm trying to figure out how the Gnucash Register sets default > cell widths. During gnc_table_init_gui() it loads the header > widths from the global option "reg_column_widths", but I can't > find any place where that option is initialized for the first > time. If the user has no saved options, the cells still seem > to have _some_ default width; where are those set? For example, > the Reconcile Cell is extremely narrow -- where is this width > configured?
As you seem to have discovered, the cell default widths are configued via sample text. The reason for this is that setting arbitrary values for defaults is brittle in the face of different font and i18n settings for different users. dave
msg01748/pgp00000.pgp
Description: PGP signature