From ccc1247e25a3759ac1f30dcaf9a63f5b536025d6 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 8 May 2020 14:02:46 +0100 Subject: [PATCH] Align the import matcher help button Move the import matcher help button to the left in the CSV transaction importer. --- .../import-export/csv-imp/assistant-csv-trans-import.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp index 0acb790fc9..522064704f 100644 --- a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp +++ b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp @@ -2059,6 +2059,12 @@ CsvImpTransAssist::assist_match_page_prepare () gtk_assistant_add_action_widget (csv_imp_asst, help_button); g_signal_connect (help_button, "clicked", G_CALLBACK(on_matcher_help_clicked), gnc_csv_importer_gui); + + // align the help button on the left side + auto action_box = gtk_widget_get_parent (help_button); + gtk_widget_set_halign (GTK_WIDGET(action_box), GTK_ALIGN_FILL); + gtk_widget_set_hexpand (GTK_WIDGET(action_box), TRUE); + gtk_box_set_child_packing (GTK_BOX(action_box), help_button, FALSE, FALSE, 0, GTK_PACK_START); gtk_widget_show (GTK_WIDGET(help_button)); /* Copy all of the transactions to the importer GUI. */