Fix TextFit do not work properly 62/303662/2
authorANZ1217 <chihun.jeong@samsung.com>
Wed, 3 Jan 2024 06:51:34 +0000 (15:51 +0900)
committerANZ1217 <chihun.jeong@samsung.com>
Wed, 3 Jan 2024 07:12:25 +0000 (16:12 +0900)
commitbb31dd11f2e763a22531bc5602d068661c596f2a
treef17cdffc0137ad7c72f816abc09d0fee188cc5b4
parent770732f3ea2ee97d3a995e3146d492c26059fe9a
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