From 45154119c16588c71e384d84d03c2003df478a97 Mon Sep 17 00:00:00 2001 From: Joshua Sled Date: Sun, 15 Apr 2007 18:22:06 +0000 Subject: [PATCH] tweak GncFrequency layout: use Expand much less. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15901 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/gnc-frequency.c | 3 +- src/gnome/glade/sched-xact.glade | 146 ++++++++++++++----------------- 2 files changed, 69 insertions(+), 80 deletions(-) diff --git a/src/gnome-utils/gnc-frequency.c b/src/gnome-utils/gnc-frequency.c index 38bd5deefb..3c35a6493e 100644 --- a/src/gnome-utils/gnc-frequency.c +++ b/src/gnome-utils/gnc-frequency.c @@ -181,9 +181,10 @@ gnc_frequency_init(GncFrequency *gf) gf->startDate = GNC_DATE_EDIT(gnc_date_edit_new(time(NULL), FALSE, FALSE)); /* Add the new widget to the table. */ { + gint dont_expand_or_fill = 0; GtkWidget *table = glade_xml_get_widget(gf->gxml, "gncfreq_table"); gtk_table_attach(GTK_TABLE(table), GTK_WIDGET(gf->startDate), - 1, 2, 1, 2, (GTK_EXPAND | GTK_FILL), 0, + 1, 2, 1, 2, dont_expand_or_fill, 0, 0, 0); } vb = GTK_VBOX(glade_xml_get_widget(gf->gxml, "gncfreq_vbox")); diff --git a/src/gnome/glade/sched-xact.glade b/src/gnome/glade/sched-xact.glade index 8a4a78a51e..0f209a142b 100644 --- a/src/gnome/glade/sched-xact.glade +++ b/src/gnome/glade/sched-xact.glade @@ -1150,6 +1150,7 @@ Monthly 2 0 1 + fill fill @@ -1278,85 +1279,72 @@ Monthly - + True - True + False 0 - + True - False - 0 + Every + False + False + GTK_JUSTIFY_RIGHT + False + False + 1 + 0.5 + 4 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + - - - True - Every - False - False - GTK_JUSTIFY_RIGHT - False - False - 1 - 0.5 - 4 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - + + + True + True + 1 + 0 + True + GTK_UPDATE_ALWAYS + True + False + 1 1 365 1 10 10 + + + 0 + False + False + + - - - True - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - True - False - 1 1 365 1 10 10 - - - 0 - False - False - - - - - - True - days. - False - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 5 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - + + + True + days. + False + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 5 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 0 @@ -1403,7 +1391,7 @@ Monthly True - True + False 0 @@ -1426,7 +1414,7 @@ Monthly 0 - True + False True @@ -1702,7 +1690,7 @@ Monthly False - True + False @@ -1745,7 +1733,7 @@ Monthly True - True + False 0 @@ -2053,7 +2041,7 @@ Last Sunday True - True + False 0 @@ -2076,7 +2064,7 @@ Last Sunday 0 - True + False True @@ -2120,7 +2108,7 @@ Last Sunday 0 - True + False True