evas_object_text_block: fix halign_set to work 40/208040/1
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 17 Jun 2019 12:20:53 +0000 (21:20 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 17 Jun 2019 12:43:44 +0000 (21:43 +0900)
commita9f8685e282d1ff967b9bbb77fd214cd489b6d70
tree379bbadd105a840f42a5f33be19aa95019a42fba
parentb1324b705650ea1799f8fc2fad0704a50236b487
evas_object_text_block: fix halign_set to work

New format's halign and halign_auto were initialized with default values
after the new format copied halign and halign_auto from original format.
This caused that the halign value given by halign_set was not applied.

To keep backward compatibility and to resolve the bug, halign and
halign_auto are initialized only for legacy textblock.

Change-Id: I9639fcea898c4bea41c1eed6c91cffd7feadd695
src/lib/evas/canvas/evas_object_textblock.c