gnucash master: Fix horizontal alignment of options labels to be GTK_ALIGN_END
Robert Fewell
bobit at code.gnucash.org
Mon Jan 30 10:07:15 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/2fc63d62 (commit)
from https://github.com/Gnucash/gnucash/commit/ea95580b (commit)
commit 2fc63d62445812d3f808fa01dff0bd4420ba2d46
Author: Robert Fewell <14uBobIT at gmail.com>
Date: Mon Jan 30 15:05:43 2023 +0000
Fix horizontal alignment of options labels to be GTK_ALIGN_END
diff --git a/gnucash/gnome-utils/gnc-option-gtk-ui.hpp b/gnucash/gnome-utils/gnc-option-gtk-ui.hpp
index 8504e431c..1afc7808a 100644
--- a/gnucash/gnome-utils/gnc-option-gtk-ui.hpp
+++ b/gnucash/gnome-utils/gnc-option-gtk-ui.hpp
@@ -124,6 +124,7 @@ set_name_label(const GncOption& option, GtkGrid* page_box, int row, bool align)
auto label{gtk_label_new(_(name))};
if (align)
align_label(GTK_LABEL(label));
+ gtk_widget_set_halign (GTK_WIDGET(label), GTK_ALIGN_END);
gtk_grid_attach(GTK_GRID(page_box), label, 0, row, 1, 1);
}
}
Summary of changes:
gnucash/gnome-utils/gnc-option-gtk-ui.hpp | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list