Skip to content
Snippets Groups Projects
Commit bdd8ee3e authored by Cédric Roux's avatar Cédric Roux
Browse files

restructure a bit the views in enb.c

more readable, still not satisfying though
parent e2682812
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,10 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
container_set_child_growable(g, col, text, 1);
textview = new_view_textlist(10000, 10, g, text);
line = new_container(g, HORIZONTAL);
widget_add_child(g, top_container, line, -1);
container_set_child_growable(g, top_container, line, 1);
/* rlc */
col = new_container(g, VERTICAL);
widget_add_child(g, line, col, -1);
......@@ -219,6 +223,10 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database)
container_set_child_growable(g, col, text, 1);
textview = new_view_textlist(10000, 10, g, text);
line = new_container(g, HORIZONTAL);
widget_add_child(g, top_container, line, -1);
container_set_child_growable(g, top_container, line, 1);
/* rrc */
col = new_container(g, VERTICAL);
widget_add_child(g, line, col, -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment