mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Budget editor total column label alignment
Align the column header label to that of the column.
This commit is contained in:
parent
15ab1ef330
commit
6730d1420c
@ -1248,6 +1248,9 @@ gnc_budget_view_refresh(GncBudgetView *view)
|
|||||||
priv->total_col = gnc_tree_view_account_add_custom_column(
|
priv->total_col = gnc_tree_view_account_add_custom_column(
|
||||||
GNC_TREE_VIEW_ACCOUNT(priv->tree_view), _("Total"),
|
GNC_TREE_VIEW_ACCOUNT(priv->tree_view), _("Total"),
|
||||||
budget_total_col_source, NULL);
|
budget_total_col_source, NULL);
|
||||||
|
|
||||||
|
// set column title alignment to right to match column data
|
||||||
|
gtk_tree_view_column_set_alignment (priv->total_col, 1.0);
|
||||||
g_object_set_data(G_OBJECT(priv->total_col), "budget", priv->budget);
|
g_object_set_data(G_OBJECT(priv->total_col), "budget", priv->budget);
|
||||||
|
|
||||||
col = gbv_create_totals_column(view, -1);
|
col = gbv_create_totals_column(view, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user