popup: disable line wrap set to elm_label 76/168576/1
authorJinYong Park <j4939.park@samsung.com>
Mon, 29 Jan 2018 09:54:31 +0000 (18:54 +0900)
committerJinYong Park <j4939.park@samsung.com>
Mon, 29 Jan 2018 09:54:31 +0000 (18:54 +0900)
line wrap of label in popup is controlled by edc.
So it is not useful, but it cause size calc problem

@tizen_fix

Change-Id: I1e4f0d1af4c268ff77ceedd881fd436a36a3e67b
Signed-off-by: JinYong Park <j4939.park@samsung.com>
src/lib/elementary/elc_popup.c

index 2f858f4..12b6286 100644 (file)
@@ -1431,7 +1431,9 @@ _content_text_set(Evas_Object *obj,
    evas_object_event_callback_add
      (sd->text_content_obj, EVAS_CALLBACK_DEL, _on_text_content_del, obj);
 
+   /* TIZEN_ONLY(20180129): disable line wrap set to label
    elm_label_line_wrap_set(sd->text_content_obj, sd->content_text_wrap_type);
+    */
    elm_object_text_set(sd->text_content_obj, text);
    evas_object_size_hint_weight_set
      (sd->text_content_obj, EVAS_HINT_EXPAND, 0.0);
@@ -2195,8 +2197,11 @@ _elm_popup_content_text_wrap_type_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, E
    if (wrap == ELM_WRAP_NONE) return;
 
    sd->content_text_wrap_type = wrap;
+   /* TIZEN_ONLY(20180129): disable line wrap set to label
+   FIXME: actually, label's wrap was controlled by edc code.
    if (sd->text_content_obj)
      elm_label_line_wrap_set(sd->text_content_obj, wrap);
+    */
 }
 
 EOLIAN static Elm_Wrap_Type