yad --form --field=button:FBTN --field=one --field='two and more' --align-buttons --align=right
the button label doesn't align right here.
I replaced gtk_widget_set_halign (l, options.common_data.align); with gtk_button_set_alignment (GTK_BUTTON (e), options.common_data.align, 0.5); and now the button label aligns to the right. Another possible replacement, which also seems to work, is g_object_set(e, "xalign", options.common_data.align, NULL);
Given this test command
the button label doesn't align right here. I replaced
gtk_widget_set_halign (l, options.common_data.align);
withgtk_button_set_alignment (GTK_BUTTON (e), options.common_data.align, 0.5);
and now the button label aligns to the right. Another possible replacement, which also seems to work, isg_object_set(e, "xalign", options.common_data.align, NULL);