Merge "Previous model height return problem fixed" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 27 Apr 2018 07:53:39 +0000 (07:53 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 27 Apr 2018 07:53:39 +0000 (07:53 +0000)
dali-toolkit/internal/text/text-controller.cpp

index d878025..7192281 100755 (executable)
@@ -1983,6 +1983,7 @@ float Controller::GetHeightForWidth( float width )
 
     // Clear the update info. This info will be set the next time the text is updated.
     mImpl->mTextUpdateInfo.Clear();
+    mImpl->mTextUpdateInfo.mClearAll = true;
 
     // Restore the actual control's width.
     mImpl->mModel->mVisualModel->mControlSize.width = actualControlWidth;