From e51649afd4c46e020e5f93cc7d87c29c1ea905ce Mon Sep 17 00:00:00 2001 From: sunghyun kim Date: Fri, 31 May 2024 12:02:34 +0900 Subject: [PATCH] Ignore FittingMode for text-visual text visual use transformMap when it is scrolling. To avoid this issue, i added this patch Change-Id: Ief1e82a4d06fe62330272fd7d25ee90c37af6ef1 --- dali-toolkit/internal/controls/control/control-data-impl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/controls/control/control-data-impl.cpp b/dali-toolkit/internal/controls/control/control-data-impl.cpp index 1ca1d62..a67cd34 100644 --- a/dali-toolkit/internal/controls/control/control-data-impl.cpp +++ b/dali-toolkit/internal/controls/control/control-data-impl.cpp @@ -2340,7 +2340,10 @@ void Control::Impl::ApplyFittingMode(const Vector2& size) // If the fittingMode is DONT_CARE, we don't need to apply fittingMode, just Set empty transformMap if(fittingMode == Visual::FittingMode::DONT_CARE) { - ((*iter)->visual).SetTransformAndSize(transformMap, size); + if(visualImpl.GetType() != Toolkit::Visual::Type::TEXT) + { + ((*iter)->visual).SetTransformAndSize(transformMap, size); + } continue; } -- 2.7.4