X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-internal%2Futc-Dali-TextField-internal.cpp;h=a098f73b551650b441d39ad60a56014139aa909d;hp=0d6b83a445cb6a83525b75e2748977b4f675345b;hb=c01b6a044893962dbc4ec47aeca60bf3b5d09766;hpb=c01f2590ed7bb00d9b3600511d08dc420261ed46 diff --git a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp index 0d6b83a..a098f73 100755 --- a/automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp +++ b/automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,12 +36,12 @@ int UtcDaliTextFieldMultipleBackgroundText(void) // Create a text field TextField textField = TextField::New(); - textField.SetSize( 400.f, 60.f ); + textField.SetProperty( Actor::Property::SIZE, Vector2( 400.f, 60.f ) ); textField.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_LEFT ); textField.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT ); // Add the text field to the stage - Stage::GetCurrent().Add( textField ); + application.GetScene().Add( textField ); application.SendNotification(); application.Render();