[GNC-dev] Bug 795101 - Scroll Bar in Reconcile Window Floats in and covers the check boxes

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Wed Apr 11 14:37:46 EDT 2018


Am 11.04.2018 um 16:52 schrieb Robert Fewell:
> Would like some thoughts on possible fix...
> 
> There seems to be three options but I may of missed something, move the
> toggle reconcile column, make it wider or add a dummy spacer column.
> 
> The first may not be liked..
> The last seems a bit over kill.
> So making the column wider seems the best / easiest.
> 
> In reconcile-view.c you have the line below which sets the column title...
> 
>     gnc_search_param_set_title ((GNCSearchParam *) param, _("Reconciled:R")
> + 11);
> 
> All I need to do is add a couple of spaces either side of the 'R' which I
> assume I can not do as it would affect the translation string
> 
>     gnc_search_param_set_title ((GNCSearchParam *) param, _("Reconciled:
> R  ") + 11);

For this all translators would hate you - introducing a new string with
"noise"

> But can I add this after above line, it works on my setup, is this OK.
> 
>     // to allow space for the vertical scrollbar showing, add a couple of
> spaces
>     gnc_search_param_set_title ((GNCSearchParam *) param,
>               g_strconcat ("  ", ((GNCSearchParam *) param)->title, "  ",
> NULL));

how about gtk_grid_set_column_spacing () or similar?

> Bob

~Frank


More information about the gnucash-devel mailing list