From bdd8ee3eed723b8d39359e0088538325480da2c3 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Thu, 9 Jun 2016 10:41:38 +0200 Subject: [PATCH] restructure a bit the views in enb.c more readable, still not satisfying though --- common/utils/T/tracer/enb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/utils/T/tracer/enb.c b/common/utils/T/tracer/enb.c index 25dee9c2f0..ee35464ba6 100644 --- a/common/utils/T/tracer/enb.c +++ b/common/utils/T/tracer/enb.c @@ -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); -- GitLab