Revert "Adjust text fit condition" 30/290130/1
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 20 Mar 2023 10:41:13 +0000 (19:41 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Mon, 20 Mar 2023 10:41:18 +0000 (19:41 +0900)
This reverts commit 52b3a0d3057c239c2ca75321864d687d09a9f01f.

Change-Id: Ibfda60c4f6a509a9febf63fa9ed3752b6758ffcb

dali-toolkit/internal/text/controller/text-controller-relayouter.cpp

index 572d830..2f6745b 100644 (file)
@@ -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;
   }