- When ellipsis/linewrap mode is set to elm_label
signal is emitted to elm_label's resize_obj(edc)
to change text attribute.
- Sending signal logic similar to elm_label is added
because Span directly sets text to resize_obj directly
by style_user_push() and signal which should be
emitted by elm_label is not sent.
- This commit depends on
https://review.tizen.org/gerrit/#/c/115950/
Change-Id: If40362986d8ec772ba353d2498deab89c4cbfd20
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
}
EdjeObject.EmitSignal(emission, "elm");
+
+ switch (LineBreakMode)
+ {
+ case LineBreakMode.NoWrap:
+ emission = "elm,state,horizontal,expandable";
+ break;
+ default:
+ emission = "elm,state,horizontal,fixed";
+ break;
+ }
+ EdjeObject.EmitSignal(emission, "elm");
}
- }
+ }
}