forked from enlightenment/efl
parent
7a5a301a63
commit
e6b6714656
|
@ -196,7 +196,7 @@ _field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
||||
evas_object_geometry_get(elm_widget_top_get(ctx_mod->mod_data.base), NULL, NULL, &width, NULL);
|
||||
evas_object_size_hint_min_set(ctx_mod->ctxpopup, width, -1);
|
||||
display_item_num = width / (w + elm_finger_size_get());
|
||||
display_item_num = width / (w + elm_config_finger_size_get());
|
||||
// always display even number of items to avoid autoselection
|
||||
if (display_item_num % 2) display_item_num -= 1;
|
||||
if (display_item_num < DISKSELECTOR_MIN_ITEMS)
|
||||
|
|
Loading…
Reference in New Issue