projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b090635
)
elementary: apply slide ALWAYS mode for Edje marquee
69/162569/1
accepted/tizen/4.0/unified/20171207.070751
submit/tizen_4.0/20171207.005059
author
Youngbok Shin
<youngb.shin@samsung.com>
Mon, 4 Dec 2017 08:36:30 +0000
(17:36 +0900)
committer
Youngbok Shin
<youngb.shin@samsung.com>
Mon, 4 Dec 2017 08:36:30 +0000
(17:36 +0900)
Dependency warning: It should be applied with the following patch.
https://review.tizen.org/gerrit/162567
@tizen_fix
Change-Id: I0ff3a8dee81aef26f3cbce38477b816e7bd576f2
src/lib/elm_label.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_label.c
b/src/lib/elm_label.c
index
b2a7876
..
57fb2f0
100644
(file)
--- a/
src/lib/elm_label.c
+++ b/
src/lib/elm_label.c
@@
-267,6
+267,12
@@
_elm_label_horizontal_size_policy_update(Eo *obj, Elm_Label_Data *sd)
edje_object_signal_emit(wd->resize_obj, "elm,state,horizontal,expandable", "elm");
else
edje_object_signal_emit(wd->resize_obj, "elm,state,horizontal,fixed", "elm");
+
+ if (sd->slide_mode == ELM_LABEL_SLIDE_MODE_ALWAYS)
+ edje_object_part_text_marquee_always_set(wd->resize_obj, "elm.text", EINA_TRUE);
+ else
+ edje_object_part_text_marquee_always_set(wd->resize_obj, "elm.text", EINA_FALSE);
+
edje_object_message_signal_process(wd->resize_obj);
}
/* END */