Makes the LTR/RTL alignment of text follow the system language by default. 70/259870/3
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 16 Jun 2021 07:18:43 +0000 (16:18 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Tue, 6 Jul 2021 01:51:28 +0000 (01:51 +0000)
commitd6e64b3378155f98076a5a92e70fd17153d431b5
treebbfdc90fbc301c5765cfc298593719b40602cee7
parent67bdd3bc31cd6beb81a53891d2b0b6e9cc11b6c0
Makes the LTR/RTL alignment of text follow the system language by default.

The MATCH_SYSTEM_LANGUAGE_DIRECTION property defaults to true.

When the layout direction of TextLabel, TextField, or TextEditor is changed,
LTR/RTL alignment of text follows the layout direction of each control.

If you set MATCH_SYSTEM_LANGUAGE_DIRECTION to false
As before, LTR/RTL is determined according to the language of the text.

Change-Id: If92e44feb942cf3024bbe56842d75b2b45a73448
dali/devel-api/text-abstraction/bidirectional-support.cpp
dali/devel-api/text-abstraction/bidirectional-support.h
dali/internal/text/text-abstraction/bidirectional-support-impl.cpp
dali/internal/text/text-abstraction/bidirectional-support-impl.h