elementary entry: apply scale to all edje objects

Summary:
When an entry is scrollable, its resize object is scr_edje.
So, to apply scale properly, elm_entry needs to apply scale
to its entry_edje, too.
@fix

Test Plan: Apply scale to scrollable entry

Reviewers: herdsman, woohyun, cedric, eagleeye

Reviewed By: eagleeye

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7140
This commit is contained in:
Youngbok Shin 2018-10-04 18:53:36 +09:00 committed by WooHyun Jung
parent 7cb0770d04
commit 75296e32df
1 changed files with 6 additions and 0 deletions

View File

@ -882,6 +882,12 @@ _elm_entry_efl_ui_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd)
edje_object_scale_set
(wd->resize_obj,
efl_gfx_entity_scale_get(obj) * elm_config_scale_get());
if (sd->scroll)
{
edje_object_scale_set
(sd->entry_edje,
efl_gfx_entity_scale_get(obj) * elm_config_scale_get());
}
_mirrored_set(obj, efl_ui_mirrored_get(obj));