[Tizen] Revert "Adjust text fit condition" 62/290162/1
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 20 Mar 2023 10:41:13 +0000 (19:41 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 21 Mar 2023 04:40:42 +0000 (13:40 +0900)
This reverts commit 52b3a0d3057c239c2ca75321864d687d09a9f01f.

Change-Id: Ibfda60c4f6a509a9febf63fa9ed3752b6758ffcb

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

index 560c502e7494a27e6b8f13ea8c017b442eb3c301..6db5b503e3ded422359bc4198be46c8ba0eba2b4 100644 (file)
@@ -244,7 +244,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;
   }