mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix accelerator key problems in date cell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@253 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2f3582ad4f
commit
4b847b9164
@ -2067,7 +2067,9 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
/* ----------------------------------- */
|
||||
/* set up column widths */
|
||||
|
||||
regData -> columnWidths[DATE_CELL_C] = 5; /* also YEAR_CELL_C */
|
||||
/* date column needs to be six-wide to get the accelerator
|
||||
* keys to function when double-digit days & months appear */
|
||||
regData -> columnWidths[DATE_CELL_C] = 6; /* also YEAR_CELL_C */
|
||||
regData -> columnWidths[NUM_CELL_C] = 6; /* also ACTN_CELL_C */
|
||||
regData -> columnWidths[XFRM_CELL_C] = 14; /* also XTO_CELL_C */
|
||||
regData -> columnWidths[DESC_CELL_C] = 30; /* also MEMO_CELL_C */
|
||||
@ -2101,7 +2103,7 @@ regWindowLedger( Widget parent, Account **acclist, int ledger_type )
|
||||
/* ----------------------------------- */
|
||||
/* set up column alignments */
|
||||
|
||||
regData -> alignments[DATE_CELL_C] = XmALIGNMENT_END;
|
||||
regData -> alignments[DATE_CELL_C] = XmALIGNMENT_CENTER;
|
||||
/* ACTN is in NUM_CELL, and needs to be visible */
|
||||
regData -> alignments[NUM_CELL_C] = XmALIGNMENT_BEGINNING;
|
||||
regData -> alignments[XFRM_CELL_C] = XmALIGNMENT_BEGINNING;
|
||||
|
Loading…
Reference in New Issue
Block a user