Once rtl mode is set, elm_layout reverses its x-axis.
however, scroller uses elm_layout to contain both original content and
proxy image of it when loop mode is set.
In this situation, elm_layout should not reverse its x-axis when It is
used for container of proxy to support loop mode of scroller.
This commit will not apply rtl mode to contents layout (mirrored set)
@tizen_fix
Change-Id: Ia334cc2beb61621f9b9e16c5463345efd8a415c2
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
elm_widget_sub_object_add(obj, sd->contents);
elm_widget_on_show_region_hook_set(sd->contents, _show_region_hook, obj);
+ // TIZEN_ONLY(20161221): keep contents layout relative even if rtl is set
+ elm_widget_mirrored_automatic_set(sd->contents, EINA_FALSE);
+ elm_widget_mirrored_set(sd->contents, EINA_FALSE);
+ // END
}
elm_object_part_content_set(sd->contents, "elm.swallow.content", content);
sd->content = content;