summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);