From: Joogab Yun Date: Thu, 23 Jan 2020 10:03:23 +0000 (+0900) Subject: [Tizen] We also need to change the cursor position when the layout direction changes. X-Git-Tag: accepted/tizen/5.5/unified/20200206.060322~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=b63673202bb63846fa748bc9508187b3b5d82b12 [Tizen] We also need to change the cursor position when the layout direction changes. Change-Id: Ic375712defefcac598ac4d23e20f35acc46b94e5 --- diff --git a/dali-toolkit/internal/text/text-controller.cpp b/dali-toolkit/internal/text/text-controller.cpp index 880c0c4..a3e122e 100755 --- a/dali-toolkit/internal/text/text-controller.cpp +++ b/dali-toolkit/internal/text/text-controller.cpp @@ -2569,6 +2569,11 @@ Controller::UpdateTextType Controller::Relayout( const Size& size ) REORDER | ALIGN ); mImpl->mLayoutDirection = layoutDirection; + if( mImpl->mEventData ) + { + mImpl->mEventData->mUpdateAlignment = true; + mImpl->mEventData->mUpdateCursorPosition = true; + } } }