From 57732cdf424f81dc081643ced6db7ee490befccd Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Mon, 20 Mar 2023 19:41:13 +0900 Subject: [PATCH] Revert "Adjust text fit condition" This reverts commit 52b3a0d3057c239c2ca75321864d687d09a9f01f. Change-Id: Ibfda60c4f6a509a9febf63fa9ed3752b6758ffcb --- dali-toolkit/internal/text/controller/text-controller-relayouter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp b/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp index 572d830..2f6745b 100644 --- a/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp +++ b/dali-toolkit/internal/text/controller/text-controller-relayouter.cpp @@ -242,7 +242,7 @@ bool Controller::Relayouter::CheckForTextFit(Controller& controller, float point textUpdateInfo.Clear(); textUpdateInfo.mClearAll = true; - if(textSize.width >= layoutSize.width || textSize.height >= layoutSize.height) + if(textSize.width > layoutSize.width || textSize.height > layoutSize.height) { return false; } -- 2.7.4