mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
tweak GncFrequency layout: use Expand much less.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15901 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4bdbd8392d
commit
45154119c1
@ -181,9 +181,10 @@ gnc_frequency_init(GncFrequency *gf)
|
|||||||
gf->startDate = GNC_DATE_EDIT(gnc_date_edit_new(time(NULL), FALSE, FALSE));
|
gf->startDate = GNC_DATE_EDIT(gnc_date_edit_new(time(NULL), FALSE, FALSE));
|
||||||
/* Add the new widget to the table. */
|
/* Add the new widget to the table. */
|
||||||
{
|
{
|
||||||
|
gint dont_expand_or_fill = 0;
|
||||||
GtkWidget *table = glade_xml_get_widget(gf->gxml, "gncfreq_table");
|
GtkWidget *table = glade_xml_get_widget(gf->gxml, "gncfreq_table");
|
||||||
gtk_table_attach(GTK_TABLE(table), GTK_WIDGET(gf->startDate),
|
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);
|
0, 0);
|
||||||
}
|
}
|
||||||
vb = GTK_VBOX(glade_xml_get_widget(gf->gxml, "gncfreq_vbox"));
|
vb = GTK_VBOX(glade_xml_get_widget(gf->gxml, "gncfreq_vbox"));
|
||||||
|
@ -1150,6 +1150,7 @@ Monthly</property>
|
|||||||
<property name="right_attach">2</property>
|
<property name="right_attach">2</property>
|
||||||
<property name="top_attach">0</property>
|
<property name="top_attach">0</property>
|
||||||
<property name="bottom_attach">1</property>
|
<property name="bottom_attach">1</property>
|
||||||
|
<property name="x_options">fill</property>
|
||||||
<property name="y_options">fill</property>
|
<property name="y_options">fill</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
@ -1277,12 +1278,6 @@ Monthly</property>
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHBox" id="hbox108">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="homogeneous">True</property>
|
|
||||||
<property name="spacing">0</property>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="hbox115">
|
<widget class="GtkHBox" id="hbox115">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -1358,13 +1353,6 @@ Monthly</property>
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
|
||||||
<property name="padding">0</property>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
<packing>
|
||||||
<property name="tab_expand">False</property>
|
<property name="tab_expand">False</property>
|
||||||
<property name="tab_fill">True</property>
|
<property name="tab_fill">True</property>
|
||||||
@ -1403,7 +1391,7 @@ Monthly</property>
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="hbox110">
|
<widget class="GtkHBox" id="hbox110">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="homogeneous">True</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
@ -1426,7 +1414,7 @@ Monthly</property>
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="padding">0</property>
|
<property name="padding">0</property>
|
||||||
<property name="expand">True</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">True</property>
|
<property name="fill">True</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
@ -1702,7 +1690,7 @@ Monthly</property>
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="tab_expand">False</property>
|
<property name="tab_expand">False</property>
|
||||||
<property name="tab_fill">True</property>
|
<property name="tab_fill">False</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
@ -1745,7 +1733,7 @@ Monthly</property>
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="hbox126">
|
<widget class="GtkHBox" id="hbox126">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="homogeneous">True</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
@ -2053,7 +2041,7 @@ Last Sunday</property>
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="hbox124">
|
<widget class="GtkHBox" id="hbox124">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="homogeneous">True</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
@ -2076,7 +2064,7 @@ Last Sunday</property>
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="padding">0</property>
|
<property name="padding">0</property>
|
||||||
<property name="expand">True</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">True</property>
|
<property name="fill">True</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
@ -2120,7 +2108,7 @@ Last Sunday</property>
|
|||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="padding">0</property>
|
<property name="padding">0</property>
|
||||||
<property name="expand">True</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">True</property>
|
<property name="fill">True</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
Reference in New Issue
Block a user