From: Hugo Villeneuve Date: Fri, 27 Sep 2013 22:40:10 +0000 (-0400) Subject: Allow frames to expand and fill inside vbox and hbox X-Git-Tag: v2.0.0~163 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c361bcde92ff71208eded7e706f25f567c1de793;p=emu8051.git Allow frames to expand and fill inside vbox and hbox --- diff --git a/src/emugtk.c b/src/emugtk.c index fff1f22..d0a4582 100644 --- a/src/emugtk.c +++ b/src/emugtk.c @@ -293,19 +293,19 @@ emugtk_window_init(void) /* 8051 registers frame. */ fixed_frame = regwin_init(REG_WIN_WIDTH, REG_WIN_HEIGHT); - gtk_box_pack_start(GTK_BOX(hbox), fixed_frame, FALSE, FALSE, 1); + gtk_box_pack_start(GTK_BOX(hbox), fixed_frame, true, true, 1); /* Program disassembly frame. */ fixed_frame = pgmwin_init(PGM_WIN_WIDTH, PGM_WIN_HEIGHT); - gtk_box_pack_start(GTK_BOX(hbox), fixed_frame, FALSE, FALSE, 1); + gtk_box_pack_start(GTK_BOX(hbox), fixed_frame, true, true, 1); /* Adding hbox window to main_vbox */ - gtk_box_pack_start(GTK_BOX(main_vbox), hbox, FALSE, FALSE, 1); + gtk_box_pack_start(GTK_BOX(main_vbox), hbox, true, true, 1); /* Memory dump frame. */ fixed_frame = memwin_init(MEM_WIN_WIDTH, MEM_WIN_HEIGHT); /* Adding memory dump window to main_vbox */ - gtk_box_pack_start(GTK_BOX(main_vbox), fixed_frame, FALSE, FALSE, 1); + gtk_box_pack_start(GTK_BOX(main_vbox), fixed_frame, true, true, 1); /* Adding the main_vbox to the main window. */ gtk_container_add(GTK_CONTAINER(mainwin), main_vbox);