aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-17 18:37:56 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-17 18:37:56 +0000
commit1c3c9d7828f761c50fd4e6d9ced3b0ff09cce495 (patch)
tree9053de1e4c63afcde70f7b5a9e2159932dd577eb /gtk
parent16032ced6745ab61f5d84e38392d6a87964014c2 (diff)
When resize the IO Graphs window expand the filter field and advanced
calc field instead of the space between "Style:" and the style boxes, and the X/Y Axis labels and corresponding boxes. svn path=/trunk/; revision=24373
Diffstat (limited to 'gtk')
-rw-r--r--gtk/io_stat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/io_stat.c b/gtk/io_stat.c
index 5cc3c61a0c..820205da04 100644
--- a/gtk/io_stat.c
+++ b/gtk/io_stat.c
@@ -1626,7 +1626,7 @@ create_ctrl_area(io_stat_t *io, GtkWidget *box)
#endif
frame_vbox=gtk_vbox_new(FALSE, 0);
- gtk_container_add(GTK_CONTAINER(box), frame_vbox);
+ gtk_box_pack_start(GTK_BOX(box), frame_vbox, FALSE, FALSE, 0);
gtk_widget_show(frame_vbox);
frame = gtk_frame_new("X Axis");
@@ -1864,7 +1864,7 @@ create_advanced_field(io_stat_graph_t *gio, GtkWidget *box)
{
gio->calc_field=gtk_entry_new_with_max_length(50);
- gtk_box_pack_start(GTK_BOX(box), gio->calc_field, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(box), gio->calc_field, TRUE, TRUE, 0);
gtk_widget_show(gio->calc_field);
SIGNAL_CONNECT(gio->calc_field, "activate", filter_callback, gio);
}
@@ -1878,7 +1878,7 @@ create_advanced_box(io_stat_graph_t *gio, GtkWidget *box)
hbox=gtk_hbox_new(FALSE, 0);
gio->advanced_buttons=hbox;
gtk_container_add(GTK_CONTAINER(box), hbox);
- gtk_box_set_child_packing(GTK_BOX(box), hbox, FALSE, FALSE, 0, GTK_PACK_START);
+ gtk_box_set_child_packing(GTK_BOX(box), hbox, TRUE, TRUE, 0, GTK_PACK_START);
gtk_widget_hide(hbox);
gio->calc_type=CALC_TYPE_SUM;
@@ -1969,7 +1969,7 @@ create_filter_box(io_stat_graph_t *gio, GtkWidget *box, int num)
OBJECT_SET_DATA(gio->filter_bt, E_FILT_TE_PTR_KEY, gio->filter_field);
/* filter prefs dialog */
- gtk_box_pack_start(GTK_BOX(hbox), gio->filter_field, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(hbox), gio->filter_field, TRUE, TRUE, 0);
gtk_widget_show(gio->filter_field);
SIGNAL_CONNECT(gio->filter_field, "activate", filter_callback, gio);
SIGNAL_CONNECT(gio->filter_field, "changed", filter_te_syntax_check_cb, NULL);
@@ -2012,7 +2012,7 @@ create_filter_area(io_stat_t *io, GtkWidget *box)
int i;
frame=gtk_frame_new("Graphs");
- gtk_container_add(GTK_CONTAINER(box), frame);
+ gtk_box_pack_start(GTK_BOX(box), frame, TRUE, TRUE, 0);
gtk_widget_show(frame);
vbox=gtk_vbox_new(FALSE, 1);