[Tizen] Fix TextFit do not work properly 14/303814/1
authorANZ1217 <chihun.jeong@samsung.com>
Wed, 3 Jan 2024 06:51:34 +0000 (15:51 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 5 Jan 2024 07:04:24 +0000 (16:04 +0900)
commita316b9ea7fcf64a53c632fe7a53cada580dc7a00
tree9a92fd980789e6f46ee41bf7421660f522f8ef9a
parent072a28f9e48282d3e2734f969348ed496219a8f1
[Tizen] Fix TextFit do not work properly

When check for textfit, it doesn't distinguish between cases
where the layout does not change because text is too large
and the layout does not change because text is too small.

Now CheckForTextFit returns false when text is too large.

Change-Id: I03a414406ee336ec7bf24c8d067fc73379d119f7
dali-toolkit/internal/text/controller/text-controller-relayouter.cpp
dali-toolkit/internal/text/controller/text-controller-relayouter.h