Evas_Object *box = elm_box_add(popup);
if (total_count == 1)
- evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_scale_get() * total_count);
+ evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_config_scale_get() * total_count);
else if (total_count < MSG_BUBBLE_POPUP_LIST_MAX_MENU)
- evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_scale_get() * (total_count+1)); // +1 for select all menu
+ evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_config_scale_get() * (total_count+1)); // +1 for select all menu
else
- evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_scale_get() * MSG_BUBBLE_POPUP_LIST_MAX_MENU);
+ evas_object_size_hint_min_set(box, 0, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * elm_config_scale_get() * MSG_BUBBLE_POPUP_LIST_MAX_MENU);
elm_box_pack_start(box, genlist);
elm_object_content_set(popup, box);
/** create menu list */
list = elm_list_add(cd->main_window);
elm_list_mode_set(list, ELM_LIST_EXPAND);
- evas_object_size_hint_max_set(list, -1, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * MSG_BUBBLE_POPUP_LIST_MAX_MENU * elm_scale_get());
+ evas_object_size_hint_max_set(list, -1, MSG_BUBBLE_POPUP_LIST_1LINE_HEIGHT * MSG_BUBBLE_POPUP_LIST_MAX_MENU * elm_config_scale_get());
if (!list)
return;