Fix horizontal alignment of options labels to be GTK_ALIGN_END

This commit is contained in:
Robert Fewell 2023-01-30 15:05:43 +00:00
parent ea95580b42
commit 2fc63d6244

View File

@ -124,6 +124,7 @@ set_name_label(const GncOption& option, GtkGrid* page_box, int row, bool align)
auto label{gtk_label_new(_(name))}; auto label{gtk_label_new(_(name))};
if (align) if (align)
align_label(GTK_LABEL(label)); 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); gtk_grid_attach(GTK_GRID(page_box), label, 0, row, 1, 1);
} }
} }