projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c233aa6
)
Allow frames to expand and fill inside vbox and hbox
author
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 27 Sep 2013 22:40:10 +0000
(18:40 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 1 Oct 2013 02:17:54 +0000
(22:17 -0400)
src/emugtk.c
patch
|
blob
|
history
diff --git
a/src/emugtk.c
b/src/emugtk.c
index
fff1f22
..
d0a4582
100644
(file)
--- 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);
/* 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);
/* 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 */
/* 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 */
/* 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);
/* Adding the main_vbox to the main window. */
gtk_container_add(GTK_CONTAINER(mainwin), main_vbox);