[Tizen] Fix text relayouter update issue 46/267246/1
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Nov 2021 03:07:36 +0000 (12:07 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Nov 2021 08:13:49 +0000 (17:13 +0900)
commitcc0338b7f52d02af998b982fd012a579a22d040c
treed27675c4b056b1503d82a3203a30fa8110c87f40
parent836db7cb0e150119af782efdafb787c211847f7e
[Tizen] Fix text relayouter update issue

When the size of the text control is 0,
there is a issue that the mRequestedNumberOfCharacters becomes 0
even if the actural text exists.

This patch avoids this issue by updating mNumberOfCharactersToAdd
in textUpdateInfo in that situation.

Change-Id: I440b39f846aa7c9c410a1d121dae7b8a63b811ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/text-controller-relayouter.cpp