X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-field-impl.cpp;h=7e2d14323fcb2f9340ac5aaabc4368bc6e2b1d91;hb=cbda2de83c5025276c35d69044934ab1258b4998;hp=2b4fcc06c046fcdd1b6f64a3dcbd4582ed6d4beb;hpb=c01f2590ed7bb00d9b3600511d08dc420261ed46;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp index 2b4fcc0..7e2d143 100755 --- a/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-field-impl.cpp @@ -1434,11 +1434,11 @@ void TextField::OnRelayout( const Vector2& size, RelayoutContainer& container ) if( mStencil ) { - mStencil.SetPosition( padding.start, padding.top ); + mStencil.SetProperty( Actor::Property::POSITION, Vector2( padding.start, padding.top )); } if( mActiveLayer ) { - mActiveLayer.SetPosition( padding.start, padding.top ); + mActiveLayer.SetProperty( Actor::Property::POSITION, Vector2( padding.start, padding.top )); } const Text::Controller::UpdateTextType updateTextType = mController->Relayout( contentSize, layoutDirection ); @@ -1540,7 +1540,7 @@ void TextField::RenderText( Text::Controller::UpdateTextType updateTextType ) renderableActorPositionY = scrollOffset.y + padding.top; } - mRenderableActor.SetPosition( renderableActorPositionX, renderableActorPositionY ); + mRenderableActor.SetProperty( Actor::Property::POSITION, Vector2( renderableActorPositionX, renderableActorPositionY )); // Make sure the actors are parented correctly with/without clipping Actor self = mStencil ? mStencil : Self(); @@ -1569,13 +1569,13 @@ void TextField::RenderText( Text::Controller::UpdateTextType updateTextType ) if ( mDecorator && mDecorator->IsHighlightVisible() ) { self.Add( mBackgroundActor ); - mBackgroundActor.SetPosition( renderableActorPositionX, renderableActorPositionY); // In text field's coords. + mBackgroundActor.SetProperty( Actor::Property::POSITION, Vector2( renderableActorPositionX, renderableActorPositionY) ); // In text field's coords. mBackgroundActor.LowerBelow( highlightActor ); } else { mRenderableActor.Add( mBackgroundActor ); - mBackgroundActor.SetPosition( 0.0f, 0.0f ); // In renderable actor's coords. + mBackgroundActor.SetProperty( Actor::Property::POSITION, Vector2( 0.0f, 0.0f ) ); // In renderable actor's coords. mBackgroundActor.LowerToBottom(); } }