A single button shouldn't take full width of the window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8302 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2003-05-12 04:15:59 +00:00
parent eb548d152a
commit e805e8f8de

View File

@ -742,9 +742,11 @@ startRecnWindow(GtkWidget *parent, Account *account,
if( interest )
{
GtkWidget *alignment = gtk_alignment_new(0.5, 0.5, 0.5, 0.5);
data.xfer_button = interest;
gtk_box_pack_end( GTK_BOX(vbox), interest, FALSE, FALSE, 0 );
gtk_box_pack_end( GTK_BOX(vbox), alignment, FALSE, FALSE, 0 );
gtk_container_add(GTK_CONTAINER(alignment), interest);
gtk_signal_connect(GTK_OBJECT(interest), "clicked",
GTK_SIGNAL_FUNC(gnc_start_recn_interest_clicked_cb),
(gpointer) &data );