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:
747cc6e
)
[label] pos set api change at multiline ellipsis
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 2 Nov 2010 12:52:58 +0000
(21:52 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 2 Nov 2010 12:52:58 +0000
(21:52 +0900)
src/lib/elm_label.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_label.c
b/src/lib/elm_label.c
index
9609a4d
..
d412909
100644
(file)
--- a/
src/lib/elm_label.c
+++ b/
src/lib/elm_label.c
@@
-497,7
+497,9
@@
_ellipsis_fit_chars_to_widget(Evas_Object *obj, int fontsize, int linemode)
if (cutline < 1)
cutline = 1;
- evas_textblock_cursor_char_coord_set(tc1, 0, 0);
+// evas_textblock_cursor_char_coord_set(tc1, 0, 0);
+// evas_textblock_cursor_paragraph_char_first(tc1);
+ evas_textblock_cursor_pos_set(tc1, 0);
evas_textblock_cursor_line_set(tc2, cutline-1);
evas_textblock_cursor_line_char_last(tc2);
for (i = 0; i < (minshowcount+1); i++)