gnucash maint: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Mon Dec 16 11:04:09 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/3d2e2c23 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b7f67bb3 (commit)
	from  https://github.com/Gnucash/gnucash/commit/75dba612 (commit)



commit 3d2e2c2348fe9777164b2ef508f96dd0a418f7d1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Dec 16 14:51:08 2019 +0000

    Allow room for the border on the item_edit button

commit b7f67bb387ebace7e2f043e1ec60d5e637cbb1d8
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Dec 16 12:36:37 2019 +0000

    Bug 796736 - Register cell pop up columns width to narrow
    
    On first start up, cells with a pop up were initialised with the sample
    text plus the cell height. This worked most of the time but with small
    fonts the height could be smaller than the minimum button width so the
    cell was too small. Add a function to retrieve the button width which
    can not be less than the minimum button width and add this to be the
    sample text width.
    
    Also when you double clicked on the header of a pop up cell column to
    auto size the cell width it did not take into account the button width
    and so was too narrow, this is also fixed by getting the button width.



Summary of changes:
 gnucash/register/register-gnome/gnucash-item-edit.c | 20 +++++++++++++++++---
 gnucash/register/register-gnome/gnucash-item-edit.h |  3 +++
 gnucash/register/register-gnome/gnucash-sheet.c     |  9 +++++++++
 gnucash/register/register-gnome/gnucash-style.c     |  5 ++---
 4 files changed, 31 insertions(+), 6 deletions(-)



More information about the gnucash-patches mailing list