projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4557268
)
[entry] fixed bug in getting magnifier size (CQ id: H0100135517)
author
Myungjae Lee
<mjae.lee@samsung.com>
Fri, 21 Oct 2011 07:52:38 +0000
(16:52 +0900)
committer
Myungjae Lee
<mjae.lee@samsung.com>
Fri, 21 Oct 2011 07:52:38 +0000
(16:52 +0900)
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index
9484067
..
3ad3517
100644
(file)
--- a/
src/lib/elm_entry.c
+++ b/
src/lib/elm_entry.c
@@
-1560,6
+1560,7
@@
_magnifier_create(void *data)
Widget_Data *wd = elm_widget_data_get(data);
Evas_Coord x, y, w, h, mw, mh;
const char* key_data = NULL;
+ double elm_scale;
if (!wd) return;
@@
-1600,6
+1601,9
@@
_magnifier_create(void *data)
key_data = edje_object_data_get(wd->mgf_bg, "scale");
if (key_data) wd->mgf_scale = atof(key_data);
+ elm_scale = elm_scale_get();
+ wd->mgf_height = (int)((float)wd->mgf_height * elm_scale);
+
if (wd->mgf_type == _ENTRY_MAGNIFIER_FILLWIDTH)
evas_object_resize(wd->mgf_bg, w, wd->mgf_height);