summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2016-06-29 01:07:52 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2016-06-29 01:07:52 +0900
commitb962683355e3561e05a739ae8fd0d81f57c717c2 (patch)
treefe4f10d7a84e49328933dd8aa4d0ba3867daf8f3
parentf39ec0aa7dea3f9c5c8e7e0d4d75b13afb1044e8 (diff)
gui: Fix widget list display issue.HEADmaster
-rw-r--r--src/bin/gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/gui.c b/src/bin/gui.c
index 3c853c1..36a0f29 100644
--- a/src/bin/gui.c
+++ b/src/bin/gui.c
@@ -450,10 +450,9 @@ gui_create(const char *edje_file,
450 elm_layout_text_set(gd->gui_layout, "edje_name_txt", edje_file); 450 elm_layout_text_set(gd->gui_layout, "edje_name_txt", edje_file);
451 451
452 // Panes for preview and menu 452 // Panes for preview and menu
453 Evas_Coord w = 0;
454 evas_object_geometry_get(gd->win, NULL, NULL, &w, NULL);
455 panes = o = elm_panes_add(gd->gui_layout); 453 panes = o = elm_panes_add(gd->gui_layout);
456 elm_panes_content_left_size_set(o, ELM_SCALE_SIZE(250.0 / w)); 454 elm_panes_content_left_min_size_set(o, ELM_SCALE_SIZE(200));
455 elm_panes_content_left_size_set(o, 0.1);
457 evas_object_show(o); 456 evas_object_show(o);
458 evas_object_smart_callback_add(o, "clicked,double", 457 evas_object_smart_callback_add(o, "clicked,double",
459 gui_panes_clicked_double_cb, o); 458 gui_panes_clicked_double_cb, o);