projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ddeed5
)
edje/edje_entry : When CURSOR_MODE_BEFORE, the width of cursor edje
author
WooHyun Jung
<woohyun0705@gmail.com>
Tue, 4 Oct 2011 11:40:52 +0000
(11:40 +0000)
committer
WooHyun Jung
<woohyun0705@gmail.com>
Tue, 4 Oct 2011 11:40:52 +0000
(11:40 +0000)
object should be considered.
SVN revision: 63806
legacy/edje/src/lib/edje_entry.c
patch
|
blob
|
history
diff --git
a/legacy/edje/src/lib/edje_entry.c
b/legacy/edje/src/lib/edje_entry.c
index
d642808
..
b27bfff
100644
(file)
--- a/
legacy/edje/src/lib/edje_entry.c
+++ b/
legacy/edje/src/lib/edje_entry.c
@@
-2431,6
+2431,8
@@
_edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord *
evas_object_geometry_get(rp->object, &x, &y, &w, &h);
evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, cur_type);
if (ww < 1) ww = 1;
+ if (rp->part->cursor_mode == EDJE_ENTRY_CURSOR_MODE_BEFORE)
+ edje_object_size_min_restricted_calc(en->cursor_fg, &ww, NULL, ww, 0);
if (hh < 1) hh = 1;
if (cx) *cx = x + xx;
if (cy) *cy = y + yy;