Merge "Make sure mClearAll is true after calling GetNaturalSize()" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 9 Jan 2018 15:39:07 +0000 (15:39 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 9 Jan 2018 15:39:08 +0000 (15:39 +0000)
dali-toolkit/internal/text/text-controller.cpp

index c618006..6580790 100755 (executable)
@@ -1877,6 +1877,7 @@ Vector3 Controller::GetNaturalSize()
 
     // 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 size.
     mImpl->mModel->mVisualModel->mControlSize = actualControlSize;