forked from enlightenment/efl
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:
parent
7cb0770d04
commit
75296e32df
|
@ -882,6 +882,12 @@ _elm_entry_efl_ui_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd)
|
||||||
edje_object_scale_set
|
edje_object_scale_set
|
||||||
(wd->resize_obj,
|
(wd->resize_obj,
|
||||||
efl_gfx_entity_scale_get(obj) * elm_config_scale_get());
|
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));
|
_mirrored_set(obj, efl_ui_mirrored_get(obj));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue